Transposition and Matrix-Matrix Products

The transpose of a m by n matrix A is a n by m matrix AT such that AT[i,j] = A[j,i]. We've exchanged rows and columns.

The product of two matrices A (m by n) and B (n by p) is a matrix C (m by p) where $C[i,j] = \sum_k A[i,k] B[k,j]$.Note that this is most often computed using a simple triply nested loop.

Matrix products come up a lot, too.


next up previous
Next: Sparse Matrices Up: SPARSE MATRICES Previous: Vectors and Matrix-Vector Product