multiply

Multiplies two matrices and returns the resulting matrix.

Return

The resulting matrix after multiplying A and B.

Parameters

a

The first matrix to be multiplied.

b

The second matrix to be multiplied.

Throws

If the number of columns in A does not match the number of rows in B.