From 59190035a74ebad7543660d54fa4e89cf24d8e6f Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Fri, 7 Jul 2017 13:09:29 +0530 Subject: Demo-updated --- demos/FULLRF.dem.sce | 18 ++++ demos/GIVENS.dem.sce | 18 ++++ demos/HESS.dem.sce | 18 ++++ demos/HOUSEHOLDER.dem.sce | 18 ++++ demos/NORM.dem.sce | 18 ++++ demos/QR.dem.sce | 18 ++++ demos/ROWCOMP.dem.sce | 18 ++++ demos/SPEC.dem.sce | 18 ++++ demos/SQROOT.dem.sce | 18 ++++ demos/SVA.dem.sce | 18 ++++ demos/SVD.dem.sce | 4 +- demos/scilab2c.dem.gateway.sce | 15 +++- etc/scilab2c.start | 2 +- help/en_US/master_help.xml | 91 --------------------- help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 3054 -> 14 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 455 -> 8 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 143 -> 6 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 14011 -> 13 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 10240 -> 2048 bytes help/en_US/scilab_en_US_help/jhelpmap.jhm | 40 --------- help/en_US/scilab_en_US_help/jhelptoc.xml | 43 ---------- jar/scilab_en_US_help.jar | Bin 90905 -> 11210 bytes macros/ASTManagement/lib | Bin 1956 -> 1988 bytes macros/CCodeGeneration/lib | Bin 1052 -> 1084 bytes macros/ErrorMessages/lib | Bin 516 -> 548 bytes macros/FunctionAnnotation/lib | Bin 2408 -> 2440 bytes macros/FunctionList/lib | Bin 584 -> 616 bytes macros/GeneralFunctions/lib | Bin 1128 -> 1160 bytes macros/Hardware/AVR/lib | Bin 968 -> 1000 bytes macros/Hardware/RasberryPi/lib | Bin 972 -> 1004 bytes macros/ImageProcessing/core/lib | Bin 520 -> 552 bytes macros/ImageProcessing/highgui/lib | Bin 580 -> 612 bytes macros/ImageProcessing/imgproc/lib | Bin 748 -> 780 bytes macros/Scilab-Arduino/lib | Bin 712 -> 744 bytes macros/SymbolTable/lib | Bin 748 -> 780 bytes macros/ToolInitialization/lib | Bin 800 -> 832 bytes macros/findDeps/lib | Bin 592 -> 624 bytes macros/lib | Bin 532 -> 564 bytes macros/scilab2c.sci | 2 +- .../testLinearAlgebra/test_svd/testsvd.sci | 6 ++ .../testLinearAlgebra/test_svd/testsvdeconomy.sci | 11 +++ .../testLinearAlgebra/test_svd/testsvdim.sci | 6 ++ .../testLinearAlgebra/test_svd/testsvdrank.sci | 13 +++ .../testLinearAlgebra/test_svd/testsvdreal.sci | 11 +++ .../testLinearAlgebra/testsvd/testsvd.sci | 6 -- .../testLinearAlgebra/testsvd/testsvdeconomy.sci | 11 --- .../testLinearAlgebra/testsvd/testsvdim.sci | 6 -- .../testLinearAlgebra/testsvd/testsvdrank.sci | 13 --- .../testLinearAlgebra/testsvd/testsvdreal.sci | 11 --- 50 files changed, 244 insertions(+), 229 deletions(-) create mode 100644 demos/FULLRF.dem.sce create mode 100644 demos/GIVENS.dem.sce create mode 100644 demos/HESS.dem.sce create mode 100644 demos/HOUSEHOLDER.dem.sce create mode 100644 demos/NORM.dem.sce create mode 100644 demos/QR.dem.sce create mode 100644 demos/ROWCOMP.dem.sce create mode 100644 demos/SPEC.dem.sce create mode 100644 demos/SQROOT.dem.sce create mode 100644 demos/SVA.dem.sce delete mode 100644 help/en_US/master_help.xml delete mode 100644 help/en_US/scilab_en_US_help/jhelptoc.xml create mode 100644 tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci create mode 100644 tests/unit_tests/testLinearAlgebra/test_svd/testsvdeconomy.sci create mode 100644 tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci create mode 100644 tests/unit_tests/testLinearAlgebra/test_svd/testsvdrank.sci create mode 100644 tests/unit_tests/testLinearAlgebra/test_svd/testsvdreal.sci delete mode 100644 tests/unit_tests/testLinearAlgebra/testsvd/testsvd.sci delete mode 100644 tests/unit_tests/testLinearAlgebra/testsvd/testsvdeconomy.sci delete mode 100644 tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci delete mode 100644 tests/unit_tests/testLinearAlgebra/testsvd/testsvdrank.sci delete mode 100644 tests/unit_tests/testLinearAlgebra/testsvd/testsvdreal.sci 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 71372e25..3288381d 100644 --- a/demos/scilab2c.dem.gateway.sce +++ b/demos/scilab2c.dem.gateway.sce @@ -15,7 +15,18 @@ 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"; + "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); \ No newline at end of file +subdemolist(:,2) = demopath + subdemolist(:,2); diff --git a/etc/scilab2c.start b/etc/scilab2c.start index 2f364c68..c28c8386 100644 --- a/etc/scilab2c.start +++ b/etc/scilab2c.start @@ -47,7 +47,7 @@ if or(getscilabmode() == ["NW";"STD"]) then mprintf("\tLoad demos\n"); pathdemos = pathconvert(root_tlbx + "/demos/scilab2c.dem.gateway.sce",%f,%t); -// add_demo(gettext("Scilab2C"),pathdemos); +add_demo(gettext("Scilab2C"),pathdemos); clear pathdemos ; end diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml deleted file mode 100644 index abd7c76a..00000000 --- a/help/en_US/master_help.xml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - Scilab 2 C Converter - - - -Scilab 2 C Converter -&abf5eb4336f7978e2bc4017989d154afb; -&aed10677e0502ee2877ffc2498d862be1; -&a3f6735d8ead1d4b547fed7bc7cec4e3c; -&a9c0af79d1951ad927d4b4cda0fc839f3; -&a90e4d4dc900d2a710585019e2f50f35f; -&a5edbdd39a5a38295854ee4621edcc302; -&acb3bd011084d86870086e7cb793430a7; -&a8b8449b0b64fa9262cf85cb0f0385375; -&acf1d0b59f1e078172ec70e39485123ee; -&ad06111198ac5e255b76a0d7b5b80eba2; -&a194317ceefcee27c762f924f7b31af62; -&a5bd48906fbc0ca46007a7a1d44c3d2e5; -&a02142a89613c200b95e7061c5b2f0e9b; -&aca4745d5be5b7529f3e40304762360ad; -&a27b1714eb1a8bf6c69d232a6640b5eef; -&a04027e98539526beb2380c3bc61e9b06; -&a55d253ed8a905a53d7c683f8544b5665; -&a9945fbfe18c91a35a19ccaac34697520; -&ae6923fb362d91912cb023a91b774515f; -&a2523c586af5c0defff4a0a51dea9ff10; -&a3e1b8be0f1a5b1c01f691732b4ec30c5; -&a4a7e919bc00d6e103b86f9cb36f10c67; -&a57794acc6e678d1eb698283984f17e93; -&aa60d03d6d7ef9bc7b77fb2d282c0b0c9; -&ac5ca2eb1a688575f20e6607b823b8997; -&ab7c7e4fbe76cbc249878f36b053e5c45; -&ac5791559173bd200677253ab6df68ecd; -&a67423111a016016d07e4590f5b03b2d0; -&a49cb7bdf7618cfece9526849258b6f1f; -&a241f575a6f5e716de201efbd19d93007; -&a753016c5f750d880320da414ec4d76c5; -&acaf9301d0fd30d3eebfa145100c06f35; -&a9196ab0b5f705820f401303b56e319e5; -&a31edeca687a3d689b167e593f1ee31c3; -&ae504a4e996af1d738a2ba4cae4177f5a; - - diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 9e78f935..ef464238 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index d9070a2e..e3c71bfd 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index abba2687..1324712c 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 81b246b3..9c9d28db 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 94a57bbd..a646b005 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=732 id2=1 +TMAP bs=2048 rt=0 fl=-1 id1=10 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index a4b959db..ee0149cc 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index a97448b6..cdbcb20a 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -2,44 +2,4 @@ -<<<<<<< HEAD - -======= - ->>>>>>> 8106d4ce6960cfd63c3a42171fdf5d52e46ccb06 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml deleted file mode 100644 index 208e02af..00000000 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 2d09a139..7254da2c 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib index 9b25137c..e4570478 100644 Binary files a/macros/ASTManagement/lib and b/macros/ASTManagement/lib differ diff --git a/macros/CCodeGeneration/lib b/macros/CCodeGeneration/lib index 150b73dd..849f828d 100644 Binary files a/macros/CCodeGeneration/lib and b/macros/CCodeGeneration/lib differ diff --git a/macros/ErrorMessages/lib b/macros/ErrorMessages/lib index 3acaef05..075fda83 100644 Binary files a/macros/ErrorMessages/lib and b/macros/ErrorMessages/lib differ diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib index a08fa77a..13056024 100644 Binary files a/macros/FunctionAnnotation/lib and b/macros/FunctionAnnotation/lib differ diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib index 09e6f627..9866fadf 100644 Binary files a/macros/FunctionList/lib and b/macros/FunctionList/lib differ diff --git a/macros/GeneralFunctions/lib b/macros/GeneralFunctions/lib index b0268e97..e0628d0b 100644 Binary files a/macros/GeneralFunctions/lib and b/macros/GeneralFunctions/lib differ diff --git a/macros/Hardware/AVR/lib b/macros/Hardware/AVR/lib index 8f604d09..341ac21e 100644 Binary files a/macros/Hardware/AVR/lib and b/macros/Hardware/AVR/lib differ diff --git a/macros/Hardware/RasberryPi/lib b/macros/Hardware/RasberryPi/lib index 667f8863..1ca3515f 100644 Binary files a/macros/Hardware/RasberryPi/lib and b/macros/Hardware/RasberryPi/lib differ diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib index e52a709b..87e2cd95 100644 Binary files a/macros/ImageProcessing/core/lib and b/macros/ImageProcessing/core/lib differ diff --git a/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib index 65b46da3..b2d9dbc5 100644 Binary files a/macros/ImageProcessing/highgui/lib and b/macros/ImageProcessing/highgui/lib differ diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib index d97be434..f56b4e65 100644 Binary files a/macros/ImageProcessing/imgproc/lib and b/macros/ImageProcessing/imgproc/lib differ diff --git a/macros/Scilab-Arduino/lib b/macros/Scilab-Arduino/lib index d89e790c..b84761e7 100644 Binary files a/macros/Scilab-Arduino/lib and b/macros/Scilab-Arduino/lib differ diff --git a/macros/SymbolTable/lib b/macros/SymbolTable/lib index 7c3db40c..07204b55 100644 Binary files a/macros/SymbolTable/lib and b/macros/SymbolTable/lib differ diff --git a/macros/ToolInitialization/lib b/macros/ToolInitialization/lib index 9a30e1f8..f25c4d91 100644 Binary files a/macros/ToolInitialization/lib and b/macros/ToolInitialization/lib differ diff --git a/macros/findDeps/lib b/macros/findDeps/lib index 5f1cf070..c925b2f9 100644 Binary files a/macros/findDeps/lib and b/macros/findDeps/lib differ diff --git a/macros/lib b/macros/lib index 19467bb1..fe083dc8 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/scilab2c.sci b/macros/scilab2c.sci index 197c88b0..70290d09 100644 --- a/macros/scilab2c.sci +++ b/macros/scilab2c.sci @@ -57,7 +57,7 @@ function scilab2c(varargin) RunMode = "All"; BuildTool = getNativeBuildTool(); Target = "StandAlone" - //Board_name = "uno" + Board_name = "uno" // // scilab2c(UserScilabMainFile, CCodeOutputDir, UserSciFilesPaths, RunMode) // diff --git a/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci new file mode 100644 index 00000000..c5da4cd3 --- /dev/null +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvd.sci @@ -0,0 +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 + disp(s) +endfunction diff --git a/tests/unit_tests/testLinearAlgebra/test_svd/testsvdeconomy.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdeconomy.sci new file mode 100644 index 00000000..0459c790 --- /dev/null +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdeconomy.sci @@ -0,0 +1,11 @@ +function testsvdeconomy() + disp(" ** SVD Function (Singular Value Decomposition)** ") + A = [1,2,3,11;4,5,6,12;7,8,9,13] // Matrix - A + [u,s,vt] = svd(A,'e') // Calling Function Sequence + disp("U Matrix") + disp(u) // A = U*sigma*Vt + disp("Sigma Matrix") + disp(s) + disp(" V transpose ") + disp(vt) +endfunction diff --git a/tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci new file mode 100644 index 00000000..16633cce --- /dev/null +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdim.sci @@ -0,0 +1,6 @@ +// Function double_complex - test data. +function svdim() + b = [ (5.91+5.69*%i),(3.15-4.08*%i),(4.89+4.20*%i),(7.09+2.72*%i);(1.89+3.27*%i),(4.10+6.70*%i),(7.78+4.06*%i),(4.57+2.07*%i);(3.28+3.84*%i),(-0.79+7.21*%i),(3.88+3.30*%i),(3.84+1.19*%i)] + s = svd(b) + disp(s) +endfunction diff --git a/tests/unit_tests/testLinearAlgebra/test_svd/testsvdrank.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdrank.sci new file mode 100644 index 00000000..108acde8 --- /dev/null +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdrank.sci @@ -0,0 +1,13 @@ +function testsvdrank() + disp(" ** SVD Function (Singular Value Decomposition)** ") + A = [1,2,3,11;4,5,6,12;7,8,9,13] // Matrix - A + [u,s,vt,rk] = svd(A) // Calling Function Sequence + disp("U Matrix") + disp(u) // A = U*sigma*Vt + disp("Sigma Matrix") + disp(s) + disp(" V transpose ") + disp(vt) + disp("Rank") + disp(rk) +endfunction diff --git a/tests/unit_tests/testLinearAlgebra/test_svd/testsvdreal.sci b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdreal.sci new file mode 100644 index 00000000..0e68e003 --- /dev/null +++ b/tests/unit_tests/testLinearAlgebra/test_svd/testsvdreal.sci @@ -0,0 +1,11 @@ +function testsvdreal() + disp(" ** SVD Function (Singular Value Decomposition)** ") + A = [1,2,3,11;4,5,6,12;7,8,9,13] // Matrix - A + [u,s,vt] = svd(A) // Calling Function Sequence + disp("U Matrix") + disp(u) // A = U*sigma*Vt + disp("Sigma Matrix") + disp(s) + disp(" V transpose ") + disp(vt) +endfunction diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvd.sci b/tests/unit_tests/testLinearAlgebra/testsvd/testsvd.sci deleted file mode 100644 index 9a3a50a6..00000000 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvd.sci +++ /dev/null @@ -1,6 +0,0 @@ -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 - disp(s) -endfunction diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdeconomy.sci b/tests/unit_tests/testLinearAlgebra/testsvd/testsvdeconomy.sci deleted file mode 100644 index 0459c790..00000000 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdeconomy.sci +++ /dev/null @@ -1,11 +0,0 @@ -function testsvdeconomy() - disp(" ** SVD Function (Singular Value Decomposition)** ") - A = [1,2,3,11;4,5,6,12;7,8,9,13] // Matrix - A - [u,s,vt] = svd(A,'e') // Calling Function Sequence - disp("U Matrix") - disp(u) // A = U*sigma*Vt - disp("Sigma Matrix") - disp(s) - disp(" V transpose ") - disp(vt) -endfunction diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci b/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci deleted file mode 100644 index 16633cce..00000000 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdim.sci +++ /dev/null @@ -1,6 +0,0 @@ -// Function double_complex - test data. -function svdim() - b = [ (5.91+5.69*%i),(3.15-4.08*%i),(4.89+4.20*%i),(7.09+2.72*%i);(1.89+3.27*%i),(4.10+6.70*%i),(7.78+4.06*%i),(4.57+2.07*%i);(3.28+3.84*%i),(-0.79+7.21*%i),(3.88+3.30*%i),(3.84+1.19*%i)] - s = svd(b) - disp(s) -endfunction diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdrank.sci b/tests/unit_tests/testLinearAlgebra/testsvd/testsvdrank.sci deleted file mode 100644 index 108acde8..00000000 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdrank.sci +++ /dev/null @@ -1,13 +0,0 @@ -function testsvdrank() - disp(" ** SVD Function (Singular Value Decomposition)** ") - A = [1,2,3,11;4,5,6,12;7,8,9,13] // Matrix - A - [u,s,vt,rk] = svd(A) // Calling Function Sequence - disp("U Matrix") - disp(u) // A = U*sigma*Vt - disp("Sigma Matrix") - disp(s) - disp(" V transpose ") - disp(vt) - disp("Rank") - disp(rk) -endfunction diff --git a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdreal.sci b/tests/unit_tests/testLinearAlgebra/testsvd/testsvdreal.sci deleted file mode 100644 index 0e68e003..00000000 --- a/tests/unit_tests/testLinearAlgebra/testsvd/testsvdreal.sci +++ /dev/null @@ -1,11 +0,0 @@ -function testsvdreal() - disp(" ** SVD Function (Singular Value Decomposition)** ") - A = [1,2,3,11;4,5,6,12;7,8,9,13] // Matrix - A - [u,s,vt] = svd(A) // Calling Function Sequence - disp("U Matrix") - disp(u) // A = U*sigma*Vt - disp("Sigma Matrix") - disp(s) - disp(" V transpose ") - disp(vt) -endfunction -- cgit From 241bacc7e7b9ccca0bbcd1c8558454a323bfd0d3 Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Fri, 7 Jul 2017 15:28:07 +0530 Subject: Demo function updates --- jar/scilab_en_US_help.jar | Bin 11210 -> 11210 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 7254da2c..3e702024 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ -- cgit