diff --git a/main.py b/main.py index f628b07..2063310 100644 --- a/main.py +++ b/main.py @@ -151,6 +151,8 @@ if __name__ == "__main__": print(Q) print(R) print('solve least squares') + print(matrix[:2, :-1]) + print(matrix[:2, -1:]) print(qr.solve_least_squares(matrix[:2, :-1], matrix[:2, -1:], is_givens=True)) def PolyCoefficients(x, coeffs):