lis_array_matmat - calculate the matrix-matrix product
#include "lis.h"
LIS_INT lis_array_matmat(LIS_INT n, LIS_SCALAR
a[], LIS_SCALAR b[], LIS_SCALAR c[], LIS_INT
op);
Calculate the matrix-matrix product AB.
- 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
The following exit values are returned:
- 0
- The process is normally terminated
- unspecified
- An error occurred
lis(3)
http://www.ssisc.org/lis/