summaryrefslogtreecommitdiff
path: root/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci
diff options
context:
space:
mode:
authorSandeep Gupta2017-07-07 03:18:11 +0530
committerSandeep Gupta2017-07-07 03:18:11 +0530
commit5a324ae11bb7d2ef409248b8e2877deb9893ae90 (patch)
tree50d78df3c7503a5ae8e6f24d0cb025b0c1490041 /tests/unit_tests/testLinearAlgebra/testqr/testQR.sci
parent39e059c0f4f7b517718bcc803c1e24873e25b164 (diff)
downloadScilab2C_fossee_old-5a324ae11bb7d2ef409248b8e2877deb9893ae90.tar.gz
Scilab2C_fossee_old-5a324ae11bb7d2ef409248b8e2877deb9893ae90.tar.bz2
Scilab2C_fossee_old-5a324ae11bb7d2ef409248b8e2877deb9893ae90.zip
Test functions added & LinearAlgebra Changes
Diffstat (limited to 'tests/unit_tests/testLinearAlgebra/testqr/testQR.sci')
-rw-r--r--tests/unit_tests/testLinearAlgebra/testqr/testQR.sci8
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