MMULT (Matrix1, Matrix2) MMULT (Matrix1; Matrix2)

Matrix1

The numbers of the first matrix. This two-dimensional array must be a rectangle, with no blank values. The sizes of its constituent arrays must be equal to the size of the array representing the second matrix. In other words, the number of columns of this matrix must be equal to the number of rows of the second matrix.

Matrix2

The numbers of the second matrix. This two-dimensional array must be a rectangle, with no blank values. The size of this array must be equal to the sizes of the constituent arrays of the array representing the first matrix. In other words, the number of rows of this matrix must be equal to the number of columns of the first matrix.

Returns

The matrix product of the two matrices.

Returns the matrix product of the given matrices. Matrices must be written differently compared to most spreadsheets. For instance, =MMULT({ 3, 5; 1, 2 }, { 2, 6; 1, 1 }) (written =MMULT({ 3; 5\ 1; 2 }; { 2; 6\ 1; 1 }) if decimal commas are used instead of decimal points) should be written as MMULT ({{ 3, 5 }, { 1, 2 }}, {{ 2, 6 }, { 1, 1 }}) MMULT ({{ 3; 5 }; { 1; 2 }}; {{ 2; 6 }; { 1; 1 }}).

Example

MMULT ({{ 3, 5 }, { 1, 2 }}, {{ 2, 6 }, { 1, 1 }})
MMULT ({{ 3; 5 }; { 1; 2 }}; {{ 2; 6 }; { 1; 1 }})

Returns the matrix products of the given matrices, {{ 11, 23 }, { 4, 8 }}{{ 11; 23 }; { 4; 8 }}.

fxEngine Shell Want this in your own terminal? A standalone version is coming. Get notified.
Loading fxEngine Shell