1lis_array_matvec_ns(3f) Lis Library Functions lis_array_matvec_ns(3f)
2
3
4
6 lis_array_matvec_ns - calculate the matrix vector product
7
8
10 subroutine lis_array_matvec_ns(LIS_INTEGER m, LIS_INTEGER n, LIS_SCALAR
11 a(), LIS_INTEGER lda, LIS_SCALAR x(), LIS_SCALAR y(), LIS_INTEGER op,
12 LIS_INTEGER ierr);
13
14
16 Calculate the matrix-vector product Ax, where matrix $fIA is not
17 square.
18
19
21 m, n The size of the matrix and vectors
22
23
24 a The array that stores matrix A of size m * n
25
26
27 x The array that stores vector x of size n
28
29
30 y The array that stores vector y of size m
31
32
33 op
34
35 LIS_INS_VALUE
36 y = Ax
37
38 LIS_SUB_VALUE
39 y = y - Ax
40
41
43 y y
44
45
47 lis(3)
48
49 http://www.ssisc.org/lis/
50
51
52
53
54Man Page 3 Dec 2014 lis_array_matvec_ns(3f)