Matrix multiplication
Matrix multiplication is defined by Cm×n = Am×p⋅Bp×n. Notice that matrix multiplication is only possible if the number of columns in the first operand is equal to the number of rows of the second operand. The general term in the product, cij, is defined as
p
cij = ∑aik ⋅ bkj , for i = 1,2,K, m; j = 1,2,K, n.
k=1
Matrix multiplication is not commutative, i.e., in general, A⋅B ≠ B⋅A. Furthermore, one of the multiplications may not even exist. The following screen shots show the results of multiplications of the matrices that we stored earlier:
Page