summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 23:02:01 +0530
committerBrijeshcr2017-07-07 23:02:01 +0530
commite3bea007e2fae247b4d761bb50c7e28b16268405 (patch)
tree5e86dbf3f129aed509beb506d0926ce2427ff350 /demos
parentf577f255fd5c1d30bc770e9b053823ada8684528 (diff)
parentec1677606d3e636a47d4fd0853f83868b3953314 (diff)
downloadScilab2C_fossee_old-e3bea007e2fae247b4d761bb50c7e28b16268405.tar.gz
Scilab2C_fossee_old-e3bea007e2fae247b4d761bb50c7e28b16268405.tar.bz2
Scilab2C_fossee_old-e3bea007e2fae247b4d761bb50c7e28b16268405.zip
Array Declration for function
Diffstat (limited to 'demos')
-rw-r--r--demos/scilab2c.dem.gateway.sce2
-rw-r--r--demos/test_dct.dem.sce18
-rw-r--r--demos/test_idct.dem.sce18
3 files changed, 38 insertions, 0 deletions
diff --git a/demos/scilab2c.dem.gateway.sce b/demos/scilab2c.dem.gateway.sce
index 011e474..bb5d4d8 100644
--- a/demos/scilab2c.dem.gateway.sce
+++ b/demos/scilab2c.dem.gateway.sce
@@ -18,6 +18,8 @@ subdemolist = ["Trigonometric Identity" , "TrigonometricIdentity.dem.sce";
"High Pass Filter", "Filter.dem.sce";
"Jacobi functions","Jacobi.dem.sce";
"Analog Filters","analogFilter.dem.sce";
+ "Discrete Cosine Transform" , "test_dct.dem.sce";
+ "Inverse Cosine Transform" , "test_idct.dem.sce";
"String Functions","string.dem.sce";
"Filter Responses","FilterResponse.dem.sce";
];
diff --git a/demos/test_dct.dem.sce b/demos/test_dct.dem.sce
new file mode 100644
index 0000000..b1b6247
--- /dev/null
+++ b/demos/test_dct.dem.sce
@@ -0,0 +1,18 @@
+//
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010-2010 - DIGITEO - Bruno JOFRET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author : Ukasha Noor
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test01_DCT/scilabcode/main.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test01_DCT/scilabcode");
+
diff --git a/demos/test_idct.dem.sce b/demos/test_idct.dem.sce
new file mode 100644
index 0000000..b1d3339
--- /dev/null
+++ b/demos/test_idct.dem.sce
@@ -0,0 +1,18 @@
+//
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010-2010 - DIGITEO - Bruno JOFRET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author : Ukasha Noor
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test02_IDCT/scilabcode/testidct.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test02_IDCT/scilabcode");
+