diff options
author | Sandeep Gupta | 2017-07-07 02:30:25 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-07-07 02:30:25 +0530 |
commit | ea8a50994bd3a260cd1656713acdc397a57fc680 (patch) | |
tree | b4f79716252c8c55b9565d4f80778983b6462ddb /2.3-1/tests/unit_tests/testLinearAlgebra/testspec | |
parent | 6f0abd8ad76a0f1f72ab1b6c8a430978493f6f1b (diff) | |
download | Scilab2C-ea8a50994bd3a260cd1656713acdc397a57fc680.tar.gz Scilab2C-ea8a50994bd3a260cd1656713acdc397a57fc680.tar.bz2 Scilab2C-ea8a50994bd3a260cd1656713acdc397a57fc680.zip |
SPEC Function
Diffstat (limited to '2.3-1/tests/unit_tests/testLinearAlgebra/testspec')
-rw-r--r-- | 2.3-1/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci | 9 |
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 |