The Gram-Schmidt process constructs the vectors in order:
The empty sum at is zero. Each subtraction removes the projection onto one previous unit vector, so is orthogonal to their span. Linear independence of the inputs ensures in exact arithmetic, and normalization gives unit length.
In floating-point arithmetic, subtracting nearly equal projections can amplify roundoff and cause loss of orthogonality, especially for nearly dependent columns. Modified Gram-Schmidt, reorthogonalization, or Householder QR factorization can improve numerical behaviour; no implementation can remove the underlying sensitivity of nearly dependent input data.

Articles by others on the same topic (0)

There are currently no matching articles.