QR decomposition
The vector formula_26 can be computed by solving a least squares problem, which minimizes the overall residual. In particular if we take the QR decomposition of formula_27, then formula_28.