lis_array_matvec_ns.3f - Man Page

calculate the matrix vector product

Synopsis

subroutine lis_array_matvec_ns(LIS_INTEGER m, LIS_INTEGER n, LIS_SCALAR a(), LIS_INTEGER lda, LIS_SCALAR x(), LIS_SCALAR y(), LIS_INTEGER op, LIS_INTEGER ierr);

Description

Calculate the matrix-vector product Ax, where matrix $fIA 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

See Also

lis(3)

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

Info

3 Dec 2014 Man Page Lis Library Functions