1lis_array_matvec(3f)         Lis Library Functions        lis_array_matvec(3f)
2
3
4

NAME

6       lis_array_matvec - calculate the matrix vector product
7
8

SYNOPSIS

10       subroutine  lis_array_matvec(LIS_INTEGER  n, LIS_SCALAR a(), LIS_SCALAR
11       x(), LIS_SCALAR y(), LIS_INTEGER op, LIS_INTEGER ierr);
12
13

DESCRIPTION

15       Calculate the matrix-vector product Ax.
16
17

INPUT

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 = Ax
35
36              LIS_SUB_VALUE
37                     y = y - Ax
38
39

OUTPUT

41       y      y
42
43

SEE ALSO

45       lis(3)
46
47       http://www.ssisc.org/lis/
48
49
50
51
52Man Page                          3 Dec 2014              lis_array_matvec(3f)
Impressum