Matrix Multiplication
Matrix Multiplication (2x3 · 3x2)
Multiply a 2x3 matrix A by a 3x2 matrix B to get a 2x2 result C. The inner dimension (3) must match. Each of the four output entries uses three terms in its dot product, and the state panel accumulates them one at a time until the cell is filled.
inner-dimension matching
For A (m×p) · B (p×n), the inner dimension p must match. The output is m×n. Here A is 2×3 and B is 3×2, so p=3 and the result is 2×2.
non-square multiplication
Matrix multiplication does not require square matrices. Shapes are determined by the outer dimensions after the inner dimension is consumed.