summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci')
-rw-r--r--2.3-1/tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci15
1 files changed, 15 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci b/2.3-1/tests/unit_tests/test013_TestOpRcCC/scilabcode/mainfunction.sci
new file mode 100644
index 00000000..eda20c46
--- /dev/null
+++ b/2.3-1/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