lis_array_matmat man page

lis_array_matmat ā€” calculate the matrix-matrix product

Synopsis

#include "lis.h"

LIS_INT lis_array_matmat(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR b[], LIS_SCALAR c[], LIS_INT op);

Description

Calculate the matrix-matrix product AB.

Input

n

The size of the matrices

a

The array that stores matrix A of size n * n

b

The array that stores matrix B of size n * n

c

The array that stores matrix C of size n * n

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

3 Dec 2014 Man Page Lis Library Functions