1lis_array_matvect(3)         Lis Library Functions        lis_array_matvect(3)
2
3
4

NAME

6       lis_array_matvect - calculate the matrix vector product
7
8

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT  lis_array_matvect(LIS_INT  n,  LIS_SCALAR a[], LIS_SCALAR x[],
13       LIS_SCALAR y[], LIS_INT op);
14
15

DESCRIPTION

17       Calculate the matrix-vector product A^Tx.
18
19

INPUT

21       n      The size of the matrix and vectors
22
23
24       a      The array that stores matrix A of size n * 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 n
31
32
33       op
34
35              LIS_INS_VALUE
36                     y = A^Tx
37
38              LIS_SUB_VALUE
39                     y = y - A^Tx
40
41

OUTPUT

43       y      y
44
45

EXIT STATUS

47       The following exit values are returned:
48
49       0      The process is normally terminated
50
51       unspecified
52              An error occurred
53
54

SEE ALSO

56       lis(3)
57
58       http://www.ssisc.org/lis/
59
60
61
62
63Man Page                          3 Dec 2014              lis_array_matvect(3)
Impressum