Concept Flow - Matrix multiplication (*)
Start with Matrix A and Matrix B
Check dimensions: cols of A == rows of B?
Error: Cannot multiply
For each row i in A
For each column j in B
Calculate sum of A(i,k)*B(k,j) for k
Store result in C(i,j)
Repeat for all i,j
Result: Matrix C
Matrix multiplication multiplies rows of A by columns of B, summing products to fill each element of result matrix C.