The least-squares normal equations are
The 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 gives
Thus 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 recurrence
Each 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 (0)

There are currently no matching articles.