A vector is an ordered list of numbers. It can be read as a point or as an arrow from the origin.
- Addition and scaling are component-wise: .
- The dot product is .
- The norm is .
Why it matters
Dot products measure similarity. Attention scores in transformers are scaled dot products, and a gradient is a vector pointing in the direction of steepest ascent.
Next: matrix-multiplication (linear maps acting on vectors). Map: Math.