Matrix Multiplication

Let there be two matrices, A,BA,B with size m×nm\times n and n×pn\times p respectively.

Let

C=ABC=AB

CC will have the size m×pm\times p

For an Element on row ii, column jj in CC we let this be called CijC_{ij}

Cij=k=1nAikBkj\begin{gather*} C_{ij}=\sum_{k=1}^nA_{ik}B_{kj} \end{gather*}