summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 17:09:19 +0530
committerBrijeshcr2017-07-07 17:09:19 +0530
commit282cbe9542cddac862b88d3431a18db9df781ba7 (patch)
tree2f3f8ed5c72b77cfec057c1e1511ecd0a9467d54 /2.3-1/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci
parent46da80312c4bc66bb5f16044c5c5597ac259d419 (diff)
parent8106d4ce6960cfd63c3a42171fdf5d52e46ccb06 (diff)
downloadScilab2C-282cbe9542cddac862b88d3431a18db9df781ba7.tar.gz
Scilab2C-282cbe9542cddac862b88d3431a18db9df781ba7.tar.bz2
Scilab2C-282cbe9542cddac862b88d3431a18db9df781ba7.zip
Linear Algebra changes by Sandeep
Diffstat (limited to '2.3-1/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci')
-rw-r--r--2.3-1/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci
new file mode 100644
index 00000000..6e9346d4
--- /dev/null
+++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci
@@ -0,0 +1,9 @@
+function testspec()
+ A = [1,2,3;4,5,6;7,8,9]
+ B = [10,11,12;13,14,15;16,17,18]
+ [R,diagevals,c,d] = spec(A,B)
+ disp(R)
+ disp(diagevals)
+ disp(c)
+ disp(d)
+endfunction