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

NAME

6       lis_array_matvec_ns - calculate the matrix vector product
7
8

SYNOPSIS

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

DESCRIPTION

17       Calculate the matrix-vector product Ax, where matrix A is not square.
18
19

INPUT

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

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_matvec_ns(3)
Impressum