diff options
author | Brijeshcr | 2017-07-07 23:18:44 +0530 |
---|---|---|
committer | Brijeshcr | 2017-07-07 23:18:44 +0530 |
commit | 5e505bd97e1441011d27d3f07f94fe7271c5873f (patch) | |
tree | 4bcce04865c325221583b19b2be924ec0caf09c0 | |
parent | e3bea007e2fae247b4d761bb50c7e28b16268405 (diff) | |
parent | 241bacc7e7b9ccca0bbcd1c8558454a323bfd0d3 (diff) | |
download | scilab2c-5e505bd97e1441011d27d3f07f94fe7271c5873f.tar.gz scilab2c-5e505bd97e1441011d27d3f07f94fe7271c5873f.tar.bz2 scilab2c-5e505bd97e1441011d27d3f07f94fe7271c5873f.zip |
Changes Demo
-rw-r--r-- | demos/FULLRF.dem.sce | 18 | ||||
-rw-r--r-- | demos/GIVENS.dem.sce | 18 | ||||
-rw-r--r-- | demos/HESS.dem.sce | 18 | ||||
-rw-r--r-- | demos/HOUSEHOLDER.dem.sce | 18 | ||||
-rw-r--r-- | demos/NORM.dem.sce | 18 | ||||
-rw-r--r-- | demos/QR.dem.sce | 18 | ||||
-rw-r--r-- | demos/ROWCOMP.dem.sce | 18 | ||||
-rw-r--r-- | demos/SPEC.dem.sce | 18 | ||||
-rw-r--r-- | demos/SQROOT.dem.sce | 18 | ||||
-rw-r--r-- | demos/SVA.dem.sce | 18 | ||||
-rw-r--r-- | demos/SVD.dem.sce | 4 | ||||
-rw-r--r-- | demos/scilab2c.dem.gateway.sce | 13 | ||||
-rw-r--r-- | tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci (renamed from tests/unit_tests/testLinearAlgebra/testsvd/testsvd.sci) | 2 | ||||
-rw-r--r-- | tests/unit_tests/testLinearAlgebra/test_svd/testsvdeconomy.sci (renamed from tests/unit_tests/testLinearAlgebra/testsvd/testsvdeconomy.sci) | 0 | ||||
-rw-r--r-- | tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci (renamed from tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci) | 0 | ||||
-rw-r--r-- | tests/unit_tests/testLinearAlgebra/test_svd/testsvdrank.sci (renamed from tests/unit_tests/testLinearAlgebra/testsvd/testsvdrank.sci) | 0 | ||||
-rw-r--r-- | tests/unit_tests/testLinearAlgebra/test_svd/testsvdreal.sci (renamed from tests/unit_tests/testLinearAlgebra/testsvd/testsvdreal.sci) | 0 |
17 files changed, 194 insertions, 5 deletions
diff --git a/demos/FULLRF.dem.sce b/demos/FULLRF.dem.sce new file mode 100644 index 00000000..3aeeba20 --- /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 00000000..0ab2d2a7 --- /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 00000000..4c70d67b --- /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 00000000..74474071 --- /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 00000000..1de3feba --- /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 00000000..7d2fc1a3 --- /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 00000000..6557eb4c --- /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 00000000..423c1520 --- /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 00000000..676d5e52 --- /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 00000000..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 d466964a..aa35cce9 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 bb5d4d88..a9fb0fbf 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); diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvd.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci index 9a3a50a6..c5da4cd3 100644 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvd.sci +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci @@ -1,6 +1,6 @@ function testsvd() disp(" ** SVD Function (Singular Value Decomposition)** ") A = [1,2,3,11;4,5,6,12;7,8,9,13] // Matrix - A - [s = svd(A) // Calling Function Sequence + s = svd(A) // Calling Function Sequence disp(s) endfunction diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdeconomy.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdeconomy.sci index 0459c790..0459c790 100644 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdeconomy.sci +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdeconomy.sci diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci index 16633cce..16633cce 100644 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdrank.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdrank.sci index 108acde8..108acde8 100644 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdrank.sci +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdrank.sci diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdreal.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdreal.sci index 0e68e003..0e68e003 100644 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdreal.sci +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdreal.sci |