QR分解で得られたQとRを使った最小二乗法
least square method using Q and R obtained from the QR decomposition