diff options
Diffstat (limited to 'tests/unit_tests/testLinearAlgebra/testqr/testQR.sci')
-rw-r--r-- | tests/unit_tests/testLinearAlgebra/testqr/testQR.sci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci b/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci new file mode 100644 index 0000000..292e1cb --- /dev/null +++ b/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci @@ -0,0 +1,8 @@ +function testQR() + A = [1,2,3;4,5,6] + [u,a,rk,e] = qr(A); + disp(u) + disp(a) + disp(rk) + disp(e) +endfunction |