summaryrefslogtreecommitdiff
path: root/2.3-1/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
commit8c4c8c96d1862bf3be1259e0ed0d6beaea8f6c5f (patch)
tree067be3795e4d06ee21b3af38f590419368ba69a3 /2.3-1/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci
parent4be41c665ffe107536b4259c8e85c109cc0c2f07 (diff)
downloadScilab2C-8c4c8c96d1862bf3be1259e0ed0d6beaea8f6c5f.tar.gz
Scilab2C-8c4c8c96d1862bf3be1259e0ed0d6beaea8f6c5f.tar.bz2
Scilab2C-8c4c8c96d1862bf3be1259e0ed0d6beaea8f6c5f.zip
Test functions added & LinearAlgebra Changes
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