40. Embeddings and attention as matrix operations
Embeddings, similarity search, and attention rely heavily on dot products, matrix multiplication, normalization, and low-dimensional structure. This chapter connects core linear algebra to search, recommendation, and foundation-model workflows.