summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests
diff options
context:
space:
mode:
authorSandeep Gupta2017-07-07 02:30:25 +0530
committerSandeep Gupta2017-07-07 02:30:25 +0530
commitea8a50994bd3a260cd1656713acdc397a57fc680 (patch)
treeb4f79716252c8c55b9565d4f80778983b6462ddb /2.3-1/tests/unit_tests
parent6f0abd8ad76a0f1f72ab1b6c8a430978493f6f1b (diff)
downloadScilab2C-ea8a50994bd3a260cd1656713acdc397a57fc680.tar.gz
Scilab2C-ea8a50994bd3a260cd1656713acdc397a57fc680.tar.bz2
Scilab2C-ea8a50994bd3a260cd1656713acdc397a57fc680.zip
SPEC Function
Diffstat (limited to '2.3-1/tests/unit_tests')
-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