Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Projection onto subspace given set of LI vectors

I want a subroutine to find the Projection Matrix onto a subspace given a set of linearly independent vectors of that subspace. Suppose I have vectors $v_1, v_2, \dots v_n$ and the Vector space $\text{span}({v_i})$. How do I get the projection matrix onto that span?