summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci')
-rw-r--r--2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci
new file mode 100644
index 00000000..292e1cba
--- /dev/null
+++ b/2.3-1/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