Proj(y;A)=argminv∈R(A)∥v−y∥2=A(A⊤A)−1A⊤y Projection of a vector y onto the a matrix A‘s columnspace Proj(y;a)=a⊤aaa⊤y Projection of a vector y onto another vector a