diff options
author | Sandeep Gupta | 2017-06-18 23:55:40 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-06-18 23:55:40 +0530 |
commit | 277d1edfa17bf3719d90ddbac8e31f6181e952c3 (patch) | |
tree | 0661f1f52af0a0fd654edd4984c30e57037303c6 /tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci | |
download | Scilab2C_fossee_old-277d1edfa17bf3719d90ddbac8e31f6181e952c3.tar.gz Scilab2C_fossee_old-277d1edfa17bf3719d90ddbac8e31f6181e952c3.tar.bz2 Scilab2C_fossee_old-277d1edfa17bf3719d90ddbac8e31f6181e952c3.zip |
First commit
Diffstat (limited to 'tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci')
-rw-r--r-- | tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci b/tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci new file mode 100644 index 0000000..eda20c4 --- /dev/null +++ b/tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci @@ -0,0 +1,15 @@ +//SCI2C: DEFAULT_PRECISION= DOUBLE
+ +function mainfunction()
+ +vr1 = [1 2];
+vr2 = [3 4];
+vc1 = [11;12]
+vc2 = [13;14]
+M1 = [vr1 vr2;vr2 vr1];
+M2 = [vc1 vc2];
+
+disp(M1);
+disp(M2);
+
+endfunction
|