In practice a much better numerical method for least squares approximations is the QR decomposition of .