Vectors and Matrix-Vector Product

A vector is just a $n \times 1$ matrix.

The product of an $m\times n$ matrix A and an $n \times 1$ vector x is an $m \times 1$ vector y where $y_i = \sum_{j=1}^n
A[i,j] x[j]$. It is the ``dot product'' between the rows of A and x.

Matrix-vector products come up all over the place. For example:


next up previous
Next: Transposition and Matrix-Matrix Products Up: SPARSE MATRICES Previous: Matrices