lis_array_matmat(3)

NAME
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/