MATMUL — matrix multiplication
Performs a matrix multiplication on numeric or logical arguments.
Fortran 95 and later
RESULT = MATMUL(MATRIX_A, MATRIX_B)
MATRIX_A An array of
LOGICALtype, with a rank of one or two.
MATRIX_B An array of
COMPLEXtype if MATRIX_A is of a numeric type; otherwise, an array of
LOGICALtype. The rank shall be one or two, and the first (or only) dimension of MATRIX_B shall be equal to the last (or only) dimension of MATRIX_A. MATRIX_A and MATRIX_B shall not both be rank one arrays.
- Return value:
The matrix product of MATRIX_A and MATRIX_B. The type and kind of the result follow the usual type and kind promotion rules, as for the
- See also: