QR分解
Given the QR decomposition, the minimization problem is easily solved by noting that