Week 3 - Matrix-Vector Operations
- Unit Vector: Any vector of length one (unit length). For example, the vector has length one.
- Standard Unit Vector:
Scaling a Matrix
Cost of Matrix-Vector Multiplication
- Consider :
- Notice that there is a multiply and an add for every element of A.
- Since A has elements, , requires mn multiplies and mn adds, for a total of 2mn ﬂoating point operations (ﬂops).