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
matrix_ais of a numeric type; otherwise, an array of
logicaltype. The rank shall be one or two, and the first (or only) dimension of
matrix_bshall be equal to the last (or only) dimension of
matrix_bshall not both be rank one arrays.
The matrix product of
matrix_b. The type and kind of the result follow the usual type and kind promotion rules, as for the