lis_array_matmat_ns - Man Page

calculate the matrix-matrix product

Synopsis

#include "lis.h"

LIS_INT lis_array_matmat_ns(LIS_INT l, LIS_INT m, LIS_INT n, LIS_SCALAR a[], LIS_INT lda, LIS_SCALAR b[], LIS_INT ldb, LIS_SCALAR c[], LIS_INT ldc, LIS_INT op);

Description

Calculate the matrix-matrix product AB, where matrices A and B are not square.

Input

l, m, n

The sizes of the matrices

a

The array that stores matrix A of size l * m

lda

The size of the leading dimension of array A

b

The array that stores matrix B of size m * n

ldb

The size of the leading dimension of array B

c

The array that stores matrix C of size l * n

ldc

The size of the leading dimension of array C

op
LIS_INS_VALUE

C = AB

LIS_SUB_VALUE

C = C - AB

Output

C

C

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/

Info

10 Oct 2015 Man Page Lis Library Functions