Gram-Schmidt procedure

The Gram-Schmidt procedure in linear algebra is an algorithm for generating an orthonormal basis from any arbitrary basis.