Apply (AB)ij=∑kAikBkj(AB)_{ij} = \sum_k A_{ik} B_{kj}(AB)ij=∑kAikBkj; dimensions must be compatible.