lis_array_matmat_ns.3f - Man Page

calculate the matrix-matrix product

Synopsis

subroutine lis_array_matmat_ns(LIS_INTEGER l, LIS_INTEGER m, LIS_INTEGER n, LIS_SCALAR a(), LIS_INTEGER lda, LIS_SCALAR b(), LIS_INTEGER ldb, LIS_SCALAR c(), LIS_INTEGER ldc, LIS_INTEGER op, LIS_INTEGER ierr);

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

See Also

lis(3)

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

Info

10 Oct 2016 Man Page Lis Library Functions