MATMUL(3f)

DESCRIPTION
Performs a matrix multiplication on numeric or logical arguments.

STANDARD
Fortran 95 and later

CLASS
Transformational function

SYNTAX
RESULT = MATMUL(MATRIX_A, MATRIX_B)

ARGUMENTS

MATRIX_A An array of INTEGER, REAL, COMPLEX, or LOGICAL type, with a rank of one or two. MATRIX_B An array of INTEGER, REAL, or COMPLEX type if MATRIX_A is of a numeric type; otherwise, an array of LOGICAL type. 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.

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 * or .AND. operators.

SEE ALSO

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).