Substitute the QR decomposition into the normal equations:The diagonal of is nonzero, so is invertible. Cancel it algebraically to obtainCompute the three inner products in , then use back substitution in this upper triangular matrix. There is no need to form an inverse or explicitly construct . The orthogonal projection of onto the column space is ; its orthogonal residual proves that this solution minimizes .
Articles by others on the same topic
There are currently no matching articles.