# Synopsis

PDX_MSGT mth_MatrixProduct(long option, int row1, int col1_row2, int col2, double *matrix1, double *matrix2, double *matrix)

# Purpose

Find the product of two matrices

# Description

The product of two matrices will be computed. The number of columns in the first matrix must be equal to the number of rows in the second matrix. The product matrix will have the same number of rows as in the first matrix and the same number of columns as in the second matrix.

The array of output matrix must not be any of the two input arrays.

# Input

## option

Options (not used)

## row1

The number of rows in the first matrix

## col1_row2

The number of columns/rows in the first/second matrix

## col2

The number of columns in the second matrix

## matrix1

The first matrix [row1 x col1_row2]

## matrix2

The second matrix [col1_row2 x col2]

# Output

## matrix

The product matrix [row1 x col2]

# Return

          MTH_NOERR
          Low level error return
          .fi