1lis_array_matvect(3f) Lis Library Functions lis_array_matvect(3f)
2
3
4
6 lis_array_matvect - calculate the matrix vector product
7
8
10 subroutine lis_array_matvect(LIS_INTEGER n, LIS_SCALAR a(), LIS_SCALAR
11 x(), LIS_SCALAR y(), LIS_INTEGER op, LIS_INTEGER ierr);
12
13
15 Calculate the matrix-vector product A^Tx.
16
17
19 n The size of the matrix and vectors
20
21
22 a The array that stores matrix A of size n * n
23
24
25 x The array that stores vector x of size n
26
27
28 y The array that stores vector y of size n
29
30
31 op
32
33 LIS_INS_VALUE
34 y = A^Tx
35
36 LIS_SUB_VALUE
37 y = y - A^Tx
38
39
41 y y
42
43
45 lis(3)
46
47 http://www.ssisc.org/lis/
48
49
50
51
52Man Page 3 Dec 2014 lis_array_matvect(3f)