lis_array_matvec_ns(3)

NAME
lis_array_matvec_ns - calculate the matrix vector product

SYNOPSIS
#include "lis.h" LIS_INT lis_array_matvec_ns(LIS_INT m, LIS_INT n, LIS_SCALAR a[], LIS_INT lda, LIS_SCALAR x[], LIS_SCALAR y[]);

DESCRIPTION
Calculate the matrix-vector product Ax, where matrix A is not square.

INPUT

m, n
    The size of the matrix and vectors

a   The array that stores matrix A of size m * n

x   The array that stores vector x of size n

y   The array that stores vector y of size m

op

    LIS_INS_VALUE
        y = Ax

    LIS_SUB_VALUE
        y = y - Ax

OUTPUT

y   y

EXIT STATUS
The following exit values are returned:

0   The process is normally terminated

unspecified
    An error occurred

SEE ALSO
lis(3)

http://www.ssisc.org/lis/