MATMUL intrinsic function
Standard: F77 F90 F95 F2003
 Example Program
<Syntax>
MATMUL(MATRIX_A,MATRIX_B)

MATRIX_A : array of rank 1 or 2, and type Integer, Real, Complex or Logical.
MATRIX_B : array of rank 1 or 2, and type Integer, Real, Complex or Logical.

If MATRIX_A is of rank 1, MATRIX_B must be of rank 2. If either argument is of type Logical, both arguments must be of type Logical.
<Semantics>
Returns the matrix multiplication of MATRIX_A by MATRIX_B. If the matrices are of type Logical, the result is of type Logical and the operations used are .AND. (for multiply) and .OR. (for add). If the matrices are numeric, the result type is the same as for a numeric operation (e.g. *).
<Related>
Array-array operations, Array-scalar operations, ALL intrinsic function, ANY intrinsic function, COUNT intrinsic function, DOT_PRODUCT intrinsic function, PRODUCT intrinsic function, SUM intrinsic function, TRANSPOSE intrinsic function