The least-squares normal equations areThe full column rank of gives for nonzero , so is a symmetric positive-definite matrix. Apply the Conjugate gradient method to this linear system. To verify that its solution is the desired one, let solve the displayed equations. Then , and for any the Pythagorean identity givesThus is the unique minimizer of the linear least-squares problem.
One can apply without forming the Gram matrix: compute . More explicitly, initialize , , ; until the linear-system residual vanishes, use the Conjugate gradient method recurrenceEach dense application of this way costs operations. The condition number satisfies , where ; this is the conditioning cost of the least-squares normal equations.
Articles by others on the same topic
There are currently no matching articles.