A projection
Projection Onto Lines
For vector
This is essentially saying that the magnitude of the projection is defined via the ๐ณ Inner Product, and the direction is simply the unit
Next, assuming the dot product, the projection matrix is
General Projections
Generalizing to any subspace
projection
and projection matrix
Also, note that to project onto an affine space, we can translate before and after the projection,