Types: N/A
Examples: N/A
Constructions: N/A
Generalizations: N/A
Properties: N/A
Sufficiencies: N/A
Questions:
Right Matrix-Matrix Multiplication
When the modeling matrix is on the left and the algebraic worker is on the right, we chop the data into columns.
- Start with modeling matrix
in the left argument - Strategically choose algebraic worker
- Hit
on the right with (place in right argument) - Produce the output product
- ! The inner dimensions must agree!
- Number of rows of
must equal number of columns of - If dimensions agree,
is conformable by for right matrix-matrix multiplication
- Number of rows of
We also have another type of matrix-matrix multiplication when the factors are swapped.
Left Matrix-Matrix Multiplication
- Start with modeling matrix
in right argument - Strategically choose algebraic worker
- Hit
on the left with (place in the left argument) - Produce the output product
- ! The inner dimensions must agree!
- Number of rows of
must equal number of columns of - If dimensions agree,
is conformable to for left matrix-matrix multiplication
- Number of rows of
Remark. If the dimensions do not agree, we say
Why do we need two sides for matrix-matrix multiplication?
We have two sides because unlike scalar multiplication, matrix-matrix multiplication is not exactly commutative. The order matters because matrices have dimensions.
- Right matrix-matrix multiplication is for working with columns
- Left matrix-matrix multiplication is for working with rows