The Gram-Schmidt methodology is a process that generates an orthonormal basis from a linearly independent basis.

We iteratively apply the procedure from to to the original Vectors :

  1. Normalise the Vector by setting
  2. Replace the remaining Vectors with new ones by removing the component, i.e. the Vector becomes .

The resulting Vectors form an orthonormal basis.