diff options
author | Sandeep Gupta | 2017-07-07 02:30:25 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-07-07 02:30:25 +0530 |
commit | 3afee83ada15920249b2ff15fc7c5ee8970bb1cb (patch) | |
tree | b846dcdd0d8d9637b6ece06d56e01a62b5b86ed3 /tests/unit_tests/testLinearAlgebra | |
parent | eaa5580ddae3d9d85720dce53796c4035793c2a6 (diff) | |
download | Scilab2C_fossee_old-3afee83ada15920249b2ff15fc7c5ee8970bb1cb.tar.gz Scilab2C_fossee_old-3afee83ada15920249b2ff15fc7c5ee8970bb1cb.tar.bz2 Scilab2C_fossee_old-3afee83ada15920249b2ff15fc7c5ee8970bb1cb.zip |
SPEC Function
Diffstat (limited to 'tests/unit_tests/testLinearAlgebra')
-rw-r--r-- | tests/unit_tests/testLinearAlgebra/testspec/testspec.sci | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci b/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci new file mode 100644 index 0000000..6e9346d --- /dev/null +++ b/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 |