summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 23:18:44 +0530
committerBrijeshcr2017-07-07 23:18:44 +0530
commit5e505bd97e1441011d27d3f07f94fe7271c5873f (patch)
tree4bcce04865c325221583b19b2be924ec0caf09c0 /demos
parente3bea007e2fae247b4d761bb50c7e28b16268405 (diff)
parent241bacc7e7b9ccca0bbcd1c8558454a323bfd0d3 (diff)
downloadScilab2C_fossee_old-5e505bd97e1441011d27d3f07f94fe7271c5873f.tar.gz
Scilab2C_fossee_old-5e505bd97e1441011d27d3f07f94fe7271c5873f.tar.bz2
Scilab2C_fossee_old-5e505bd97e1441011d27d3f07f94fe7271c5873f.zip
Changes Demo
Diffstat (limited to 'demos')
-rw-r--r--demos/FULLRF.dem.sce18
-rw-r--r--demos/GIVENS.dem.sce18
-rw-r--r--demos/HESS.dem.sce18
-rw-r--r--demos/HOUSEHOLDER.dem.sce18
-rw-r--r--demos/NORM.dem.sce18
-rw-r--r--demos/QR.dem.sce18
-rw-r--r--demos/ROWCOMP.dem.sce18
-rw-r--r--demos/SPEC.dem.sce18
-rw-r--r--demos/SQROOT.dem.sce18
-rw-r--r--demos/SVA.dem.sce18
-rw-r--r--demos/SVD.dem.sce4
-rw-r--r--demos/scilab2c.dem.gateway.sce13
12 files changed, 193 insertions, 4 deletions
diff --git a/demos/FULLRF.dem.sce b/demos/FULLRF.dem.sce
new file mode 100644
index 0000000..3aeeba2
--- /dev/null
+++ b/demos/FULLRF.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testfullrf/testfullrf.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testfullrf");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/GIVENS.dem.sce b/demos/GIVENS.dem.sce
new file mode 100644
index 0000000..0ab2d2a
--- /dev/null
+++ b/demos/GIVENS.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testgivens");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/HESS.dem.sce b/demos/HESS.dem.sce
new file mode 100644
index 0000000..4c70d67
--- /dev/null
+++ b/demos/HESS.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testhess/testhess.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testhess");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/HOUSEHOLDER.dem.sce b/demos/HOUSEHOLDER.dem.sce
new file mode 100644
index 0000000..7447407
--- /dev/null
+++ b/demos/HOUSEHOLDER.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testhouseholder/testhouseholder.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testhouseholder");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/NORM.dem.sce b/demos/NORM.dem.sce
new file mode 100644
index 0000000..1de3feb
--- /dev/null
+++ b/demos/NORM.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testnorm/testnorm.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testnorm");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/QR.dem.sce b/demos/QR.dem.sce
new file mode 100644
index 0000000..7d2fc1a
--- /dev/null
+++ b/demos/QR.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testqr/testQR.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testqr");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/ROWCOMP.dem.sce b/demos/ROWCOMP.dem.sce
new file mode 100644
index 0000000..6557eb4
--- /dev/null
+++ b/demos/ROWCOMP.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testrowcomp/testrcomp.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testrowcomp");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/SPEC.dem.sce b/demos/SPEC.dem.sce
new file mode 100644
index 0000000..423c152
--- /dev/null
+++ b/demos/SPEC.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testspec");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/SQROOT.dem.sce b/demos/SQROOT.dem.sce
new file mode 100644
index 0000000..676d5e5
--- /dev/null
+++ b/demos/SQROOT.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testsqroot/testsqroot.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testsqroot");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/SVA.dem.sce b/demos/SVA.dem.sce
new file mode 100644
index 0000000..3ced74f5
--- /dev/null
+++ b/demos/SVA.dem.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+// 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: Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testsva/testsva.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/testsva");
+
+editor(TMPDIR+"/main.c");
diff --git a/demos/SVD.dem.sce b/demos/SVD.dem.sce
index d466964..aa35cce 100644
--- a/demos/SVD.dem.sce
+++ b/demos/SVD.dem.sce
@@ -13,8 +13,6 @@ lines(0);
global SCI2CHOME
-scilab2c(SCI2CHOME+"tests/unit_tests/testLinearAlgebra/testsvd/testsvd.sci", TMPDIR);
+scilab2c(SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/test_svd");
editor(TMPDIR+"/main.c");
-
-
diff --git a/demos/scilab2c.dem.gateway.sce b/demos/scilab2c.dem.gateway.sce
index bb5d4d8..a9fb0fb 100644
--- a/demos/scilab2c.dem.gateway.sce
+++ b/demos/scilab2c.dem.gateway.sce
@@ -15,13 +15,24 @@ demopath = get_absolute_file_path("scilab2c.dem.gateway.sce");
subdemolist = ["Trigonometric Identity" , "TrigonometricIdentity.dem.sce";
"Linear Regression" , "LinearRegression.dem.sce";
"Symbols", "Symbols.dem.sce";
- "High Pass Filter", "Filter.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";
+ "Singular Value Decomposition", "SVD.dem.sce";
+ "Singular Value Approximation", "SVA.dem.sce";
+ "SQROOT", "SQROOT.dem.sce";
+ "SPEC", "SPEC.dem.sce";
+ "ROWCOMP","ROWCOMP.dem.sce";
+ "QR Decomposition", "QR.dem.sce";
+ "NORM type 2", "NORM.dem.sce";
+ "HOUSEHOLDER","HOUSEHOLDER.dem.sce";
+ "HESS", "HESS.dem.sce";
+ "GIVENS Transformation", "GIVENS.dem.sce";
+ "Full rank factorization","FULLRF.dem.sce";
];
subdemolist(:,2) = demopath + subdemolist(:,2);