diff options
author | nutricato | 2010-02-04 05:35:15 +0000 |
---|---|---|
committer | nutricato | 2010-02-04 05:35:15 +0000 |
commit | 54e0f5208ee8064f16919dcc5c564c2241fc3085 (patch) | |
tree | 4af339414f52ce22c6095048bfe1ec941bb60d28 /tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci | |
parent | 326ce94f46559a48b1fa1ce4a4aee5711fab5608 (diff) | |
download | scilab2c-54e0f5208ee8064f16919dcc5c564c2241fc3085.tar.gz scilab2c-54e0f5208ee8064f16919dcc5c564c2241fc3085.tar.bz2 scilab2c-54e0f5208ee8064f16919dcc5c564c2241fc3085.zip |
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 00000000..eda20c46 --- /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
|