From d9d92203ea349d5eb44c0edc5565d827322caabe Mon Sep 17 00:00:00 2001 From: Jorawar Singh Date: Sun, 16 Jul 2017 22:17:43 +0530 Subject: Toolbox merge, RPI demos and structured demos --- demos/Arduino/Arduino.dem.gateway.sce | 22 ++++++++++++++ demos/Arduino/analog_in_out_volt.dem.sce | 7 +++++ demos/Arduino/analog_out.dem.sce | 7 +++++ demos/Arduino/blink.dem.sce | 7 +++++ demos/Arduino/dc_motor.dem.sce | 7 +++++ demos/Arduino/digital_in.dem.sce | 7 +++++ demos/Arduino/master_write.dem.sce | 7 +++++ demos/CT/CT.dem.gateway.sce | 18 ++++++++++++ demos/CT/test_dct.dem.sce | 18 ++++++++++++ demos/CT/test_idct.dem.sce | 18 ++++++++++++ demos/FULLRF.dem.sce | 18 ------------ demos/Filter.dem.sce | 21 ------------- demos/FilterResponse.dem.sce | 18 ------------ demos/Filters/Filter.dem.sce | 21 +++++++++++++ demos/Filters/FilterResponse.dem.sce | 18 ++++++++++++ demos/Filters/Filters.dem.gateway.sce | 19 ++++++++++++ demos/Filters/analogFilter.dem.sce | 18 ++++++++++++ demos/GIVENS.dem.sce | 18 ------------ demos/HESS.dem.sce | 18 ------------ demos/HOUSEHOLDER.dem.sce | 18 ------------ demos/LinearAlgebra/FULLRF.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/GIVENS.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/HESS.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/HOUSEHOLDER.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce | 27 +++++++++++++++++ demos/LinearAlgebra/NORM.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/QR.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/ROWCOMP.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/SPEC.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/SQROOT.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/SVA.dem.sce | 18 ++++++++++++ demos/LinearAlgebra/SVD.dem.sce | 18 ++++++++++++ demos/NORM.dem.sce | 18 ------------ demos/QR.dem.sce | 18 ------------ demos/ROWCOMP.dem.sce | 18 ------------ demos/RPi/RPi.dem.gateway.sce | 17 +++++++++++ demos/RPi/test_wait_and_blink.dem.sce | 19 ++++++++++++ demos/SPEC.dem.sce | 18 ------------ demos/SQROOT.dem.sce | 18 ------------ demos/SVA.dem.sce | 18 ------------ demos/SVD.dem.sce | 18 ------------ demos/analogFilter.dem.sce | 18 ------------ demos/analog_in_out_volt.dem.sce | 7 ----- demos/analog_out.dem.sce | 7 ----- demos/blink.dem.sce | 7 ----- demos/dc_motor.dem.sce | 7 ----- demos/digital_in.dem.sce | 7 ----- demos/master_write.dem.sce | 7 ----- demos/scilab2c.dem.gateway.sce | 36 ++++++----------------- demos/test_dct.dem.sce | 18 ------------ demos/test_idct.dem.sce | 18 ------------ 51 files changed, 464 insertions(+), 360 deletions(-) create mode 100644 demos/Arduino/Arduino.dem.gateway.sce create mode 100644 demos/Arduino/analog_in_out_volt.dem.sce create mode 100644 demos/Arduino/analog_out.dem.sce create mode 100644 demos/Arduino/blink.dem.sce create mode 100644 demos/Arduino/dc_motor.dem.sce create mode 100644 demos/Arduino/digital_in.dem.sce create mode 100644 demos/Arduino/master_write.dem.sce create mode 100644 demos/CT/CT.dem.gateway.sce create mode 100644 demos/CT/test_dct.dem.sce create mode 100644 demos/CT/test_idct.dem.sce delete mode 100644 demos/FULLRF.dem.sce delete mode 100644 demos/Filter.dem.sce delete mode 100644 demos/FilterResponse.dem.sce create mode 100644 demos/Filters/Filter.dem.sce create mode 100644 demos/Filters/FilterResponse.dem.sce create mode 100644 demos/Filters/Filters.dem.gateway.sce create mode 100644 demos/Filters/analogFilter.dem.sce delete mode 100644 demos/GIVENS.dem.sce delete mode 100644 demos/HESS.dem.sce delete mode 100644 demos/HOUSEHOLDER.dem.sce create mode 100644 demos/LinearAlgebra/FULLRF.dem.sce create mode 100644 demos/LinearAlgebra/GIVENS.dem.sce create mode 100644 demos/LinearAlgebra/HESS.dem.sce create mode 100644 demos/LinearAlgebra/HOUSEHOLDER.dem.sce create mode 100644 demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce create mode 100644 demos/LinearAlgebra/NORM.dem.sce create mode 100644 demos/LinearAlgebra/QR.dem.sce create mode 100644 demos/LinearAlgebra/ROWCOMP.dem.sce create mode 100644 demos/LinearAlgebra/SPEC.dem.sce create mode 100644 demos/LinearAlgebra/SQROOT.dem.sce create mode 100644 demos/LinearAlgebra/SVA.dem.sce create mode 100644 demos/LinearAlgebra/SVD.dem.sce delete mode 100644 demos/NORM.dem.sce delete mode 100644 demos/QR.dem.sce delete mode 100644 demos/ROWCOMP.dem.sce create mode 100644 demos/RPi/RPi.dem.gateway.sce create mode 100644 demos/RPi/test_wait_and_blink.dem.sce delete mode 100644 demos/SPEC.dem.sce delete mode 100644 demos/SQROOT.dem.sce delete mode 100644 demos/SVA.dem.sce delete mode 100644 demos/SVD.dem.sce delete mode 100644 demos/analogFilter.dem.sce delete mode 100644 demos/analog_in_out_volt.dem.sce delete mode 100644 demos/analog_out.dem.sce delete mode 100644 demos/blink.dem.sce delete mode 100644 demos/dc_motor.dem.sce delete mode 100644 demos/digital_in.dem.sce delete mode 100644 demos/master_write.dem.sce delete mode 100644 demos/test_dct.dem.sce delete mode 100644 demos/test_idct.dem.sce (limited to 'demos') diff --git a/demos/Arduino/Arduino.dem.gateway.sce b/demos/Arduino/Arduino.dem.gateway.sce new file mode 100644 index 0000000..417291a --- /dev/null +++ b/demos/Arduino/Arduino.dem.gateway.sce @@ -0,0 +1,22 @@ +// 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: Jorawar Singh, Yash Pratap Singh Tomar +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["Arduino blink", "blink.dem.sce"; + "Arduino digital input", "digital_in.dem.sce"; + "Arduino analog voltage i/o", "analog_in_out_volt.dem.sce"; + "Arduino analog output", "analog_out.dem.sce"; + "Arduino DC motor", "dc_motor.dem.sce"; + "Arduino Master write", "master_write.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/Arduino/"+ subdemolist(:,2); diff --git a/demos/Arduino/analog_in_out_volt.dem.sce b/demos/Arduino/analog_in_out_volt.dem.sce new file mode 100644 index 0000000..ca6da61 --- /dev/null +++ b/demos/Arduino/analog_in_out_volt.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/analog_in_check_volt.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/Arduino/analog_out.dem.sce b/demos/Arduino/analog_out.dem.sce new file mode 100644 index 0000000..65a1e27 --- /dev/null +++ b/demos/Arduino/analog_out.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/analog_check.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/Arduino/blink.dem.sce b/demos/Arduino/blink.dem.sce new file mode 100644 index 0000000..b01d3da --- /dev/null +++ b/demos/Arduino/blink.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/blink_13.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/Arduino/dc_motor.dem.sce b/demos/Arduino/dc_motor.dem.sce new file mode 100644 index 0000000..36c0bad --- /dev/null +++ b/demos/Arduino/dc_motor.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/board_test_release2.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/Arduino/digital_in.dem.sce b/demos/Arduino/digital_in.dem.sce new file mode 100644 index 0000000..2eb4c3a --- /dev/null +++ b/demos/Arduino/digital_in.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/digital_in_check.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/Arduino/master_write.dem.sce b/demos/Arduino/master_write.dem.sce new file mode 100644 index 0000000..cdf522d --- /dev/null +++ b/demos/Arduino/master_write.dem.sce @@ -0,0 +1,7 @@ +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/i2c_master.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); + +editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/CT/CT.dem.gateway.sce b/demos/CT/CT.dem.gateway.sce new file mode 100644 index 0000000..1aba91e --- /dev/null +++ b/demos/CT/CT.dem.gateway.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: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["Discrete Cosine Transform" , "test_dct.dem.sce"; + "Inverse Cosine Transform" , "test_idct.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/CT/"+ subdemolist(:,2); diff --git a/demos/CT/test_dct.dem.sce b/demos/CT/test_dct.dem.sce new file mode 100644 index 0000000..b1b6247 --- /dev/null +++ b/demos/CT/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/CT/test_idct.dem.sce b/demos/CT/test_idct.dem.sce new file mode 100644 index 0000000..b1d3339 --- /dev/null +++ b/demos/CT/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"); + diff --git a/demos/FULLRF.dem.sce b/demos/FULLRF.dem.sce deleted file mode 100644 index 3aeeba2..0000000 --- a/demos/FULLRF.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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/Filter.dem.sce b/demos/Filter.dem.sce deleted file mode 100644 index 100b37b..0000000 --- a/demos/Filter.dem.sce +++ /dev/null @@ -1,21 +0,0 @@ -// -// 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 -// -// -lines(0); - -global SCI2CHOME -editor([SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode/main.sci"; - SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode/high_pass.sci"]); - -scilab2c(SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode/main.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode"); - -editor([TMPDIR+"/main.c"; - TMPDIR+"/d2d0d0d0high_passd2.c"]); diff --git a/demos/FilterResponse.dem.sce b/demos/FilterResponse.dem.sce deleted file mode 100644 index 7104836..0000000 --- a/demos/FilterResponse.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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: Ankit Raj -// Organization: FOSSEE, IIT Bombay -// Email: toolbox@scilab.in -// - - - -lines(0); - -global SCI2CHOME - -scilab2c(SCI2CHOME+"/tests/unit_tests/test_filterResponse/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_filterResponse/scilabcode"); diff --git a/demos/Filters/Filter.dem.sce b/demos/Filters/Filter.dem.sce new file mode 100644 index 0000000..100b37b --- /dev/null +++ b/demos/Filters/Filter.dem.sce @@ -0,0 +1,21 @@ +// +// 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 +// +// +lines(0); + +global SCI2CHOME +editor([SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode/main.sci"; + SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode/high_pass.sci"]); + +scilab2c(SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode/main.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode"); + +editor([TMPDIR+"/main.c"; + TMPDIR+"/d2d0d0d0high_passd2.c"]); diff --git a/demos/Filters/FilterResponse.dem.sce b/demos/Filters/FilterResponse.dem.sce new file mode 100644 index 0000000..7104836 --- /dev/null +++ b/demos/Filters/FilterResponse.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: Ankit Raj +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in +// + + + +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/test_filterResponse/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_filterResponse/scilabcode"); diff --git a/demos/Filters/Filters.dem.gateway.sce b/demos/Filters/Filters.dem.gateway.sce new file mode 100644 index 0000000..274d0e4 --- /dev/null +++ b/demos/Filters/Filters.dem.gateway.sce @@ -0,0 +1,19 @@ +// 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: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["High Pass Filter", "Filter.dem.sce"; + "Analog Filters","analogFilter.dem.sce"; + "Filter Responses","FilterResponse.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/Filters/"+ subdemolist(:,2); diff --git a/demos/Filters/analogFilter.dem.sce b/demos/Filters/analogFilter.dem.sce new file mode 100644 index 0000000..674c954 --- /dev/null +++ b/demos/Filters/analogFilter.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: Ankit Raj +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in +// + + + +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/test_analogFilters/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_analogFilters/scilabcode"); diff --git a/demos/GIVENS.dem.sce b/demos/GIVENS.dem.sce deleted file mode 100644 index 0ab2d2a..0000000 --- a/demos/GIVENS.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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 deleted file mode 100644 index 4c70d67..0000000 --- a/demos/HESS.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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 deleted file mode 100644 index 7447407..0000000 --- a/demos/HOUSEHOLDER.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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/LinearAlgebra/FULLRF.dem.sce b/demos/LinearAlgebra/FULLRF.dem.sce new file mode 100644 index 0000000..3aeeba2 --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/GIVENS.dem.sce b/demos/LinearAlgebra/GIVENS.dem.sce new file mode 100644 index 0000000..0ab2d2a --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/HESS.dem.sce b/demos/LinearAlgebra/HESS.dem.sce new file mode 100644 index 0000000..4c70d67 --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/HOUSEHOLDER.dem.sce b/demos/LinearAlgebra/HOUSEHOLDER.dem.sce new file mode 100644 index 0000000..7447407 --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/LinearAlgebra.dem.gateway.sce b/demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce new file mode 100644 index 0000000..ef99e53 --- /dev/null +++ b/demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce @@ -0,0 +1,27 @@ +// 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: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["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"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/LinearAlgebra/"+ subdemolist(:,2); diff --git a/demos/LinearAlgebra/NORM.dem.sce b/demos/LinearAlgebra/NORM.dem.sce new file mode 100644 index 0000000..1de3feb --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/QR.dem.sce b/demos/LinearAlgebra/QR.dem.sce new file mode 100644 index 0000000..7d2fc1a --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/ROWCOMP.dem.sce b/demos/LinearAlgebra/ROWCOMP.dem.sce new file mode 100644 index 0000000..6557eb4 --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/SPEC.dem.sce b/demos/LinearAlgebra/SPEC.dem.sce new file mode 100644 index 0000000..423c152 --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/SQROOT.dem.sce b/demos/LinearAlgebra/SQROOT.dem.sce new file mode 100644 index 0000000..676d5e5 --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/SVA.dem.sce b/demos/LinearAlgebra/SVA.dem.sce new file mode 100644 index 0000000..3ced74f5 --- /dev/null +++ b/demos/LinearAlgebra/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/LinearAlgebra/SVD.dem.sce b/demos/LinearAlgebra/SVD.dem.sce new file mode 100644 index 0000000..aa35cce --- /dev/null +++ b/demos/LinearAlgebra/SVD.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/test_svd/testsvd.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/test_svd"); + +editor(TMPDIR+"/main.c"); diff --git a/demos/NORM.dem.sce b/demos/NORM.dem.sce deleted file mode 100644 index 1de3feb..0000000 --- a/demos/NORM.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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 deleted file mode 100644 index 7d2fc1a..0000000 --- a/demos/QR.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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 deleted file mode 100644 index 6557eb4..0000000 --- a/demos/ROWCOMP.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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/RPi/RPi.dem.gateway.sce b/demos/RPi/RPi.dem.gateway.sce new file mode 100644 index 0000000..29d4c71 --- /dev/null +++ b/demos/RPi/RPi.dem.gateway.sce @@ -0,0 +1,17 @@ +// 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: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["Wait and Blink","test_wait_and_blink.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/RPi/"+ subdemolist(:,2); diff --git a/demos/RPi/test_wait_and_blink.dem.sce b/demos/RPi/test_wait_and_blink.dem.sce new file mode 100644 index 0000000..31396c6 --- /dev/null +++ b/demos/RPi/test_wait_and_blink.dem.sce @@ -0,0 +1,19 @@ +// 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: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in +// + +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME + "/tests/unit_tests/test_RPi/wait_and_blink.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test_RPi/", "All", "make" ,"RPi", "uno"); + +editor([TMPDIR+"/main.c"]); diff --git a/demos/SPEC.dem.sce b/demos/SPEC.dem.sce deleted file mode 100644 index 423c152..0000000 --- a/demos/SPEC.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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 deleted file mode 100644 index 676d5e5..0000000 --- a/demos/SQROOT.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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 deleted file mode 100644 index 3ced74f5..0000000 --- a/demos/SVA.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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 deleted file mode 100644 index aa35cce..0000000 --- a/demos/SVD.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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/test_svd/testsvd.sci", TMPDIR,SCI2CHOME+"/tests/unit_tests/testLinearAlgebra/test_svd"); - -editor(TMPDIR+"/main.c"); diff --git a/demos/analogFilter.dem.sce b/demos/analogFilter.dem.sce deleted file mode 100644 index 674c954..0000000 --- a/demos/analogFilter.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// 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: Ankit Raj -// Organization: FOSSEE, IIT Bombay -// Email: toolbox@scilab.in -// - - - -lines(0); - -global SCI2CHOME - -scilab2c(SCI2CHOME+"/tests/unit_tests/test_analogFilters/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_analogFilters/scilabcode"); diff --git a/demos/analog_in_out_volt.dem.sce b/demos/analog_in_out_volt.dem.sce deleted file mode 100644 index ca6da61..0000000 --- a/demos/analog_in_out_volt.dem.sce +++ /dev/null @@ -1,7 +0,0 @@ -lines(0); - -global SCI2CHOME - -scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/analog_in_check_volt.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); - -editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/analog_out.dem.sce b/demos/analog_out.dem.sce deleted file mode 100644 index 65a1e27..0000000 --- a/demos/analog_out.dem.sce +++ /dev/null @@ -1,7 +0,0 @@ -lines(0); - -global SCI2CHOME - -scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/analog_check.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); - -editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/blink.dem.sce b/demos/blink.dem.sce deleted file mode 100644 index b01d3da..0000000 --- a/demos/blink.dem.sce +++ /dev/null @@ -1,7 +0,0 @@ -lines(0); - -global SCI2CHOME - -scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/blink_13.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); - -editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/dc_motor.dem.sce b/demos/dc_motor.dem.sce deleted file mode 100644 index 36c0bad..0000000 --- a/demos/dc_motor.dem.sce +++ /dev/null @@ -1,7 +0,0 @@ -lines(0); - -global SCI2CHOME - -scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/board_test_release2.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); - -editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/digital_in.dem.sce b/demos/digital_in.dem.sce deleted file mode 100644 index 2eb4c3a..0000000 --- a/demos/digital_in.dem.sce +++ /dev/null @@ -1,7 +0,0 @@ -lines(0); - -global SCI2CHOME - -scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/digital_in_check.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); - -editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/master_write.dem.sce b/demos/master_write.dem.sce deleted file mode 100644 index cdf522d..0000000 --- a/demos/master_write.dem.sce +++ /dev/null @@ -1,7 +0,0 @@ -lines(0); - -global SCI2CHOME - -scilab2c(SCI2CHOME+"/tests/unit_tests/testArduino/i2c_master.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/testArduino", "All", "make" ,"Arduino", "uno"); - -editor([TMPDIR+"/setup_arduino.cpp";TMPDIR+"/loop_arduino.cpp"]); diff --git a/demos/scilab2c.dem.gateway.sce b/demos/scilab2c.dem.gateway.sce index bc158bf..92fd12e 100644 --- a/demos/scilab2c.dem.gateway.sce +++ b/demos/scilab2c.dem.gateway.sce @@ -12,36 +12,18 @@ demopath = get_absolute_file_path("scilab2c.dem.gateway.sce"); -subdemolist = ["Trigonometric Identity" , "TrigonometricIdentity.dem.sce"; +subdemolist =["Linear Algebra","LinearAlgebra/LinearAlgebra.dem.gateway.sce"; + "Arduino","Arduino/Arduino.dem.gateway.sce"; + "Cosine Transforms","CT/CT.dem.gateway.sce"; + "Filters","Filters/Filters.dem.gateway.sce"; + "Raspberry Pi","RPi/RPi.dem.gateway.sce"; + "Trigonometric Identity" , "TrigonometricIdentity.dem.sce"; "Linear Regression" , "LinearRegression.dem.sce"; "Symbols", "Symbols.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"; - "Arduino blink", "blink.dem.sce"; - "Arduino digital input", "digital_in.dem.sce"; - "Arduino analog voltage i/o", "analog_in_out_volt.dem.sce"; - "Arduino analog output", "analog_out.dem.sce"; - "Arduino DC motor", "dc_motor.dem.sce"; - "Arduino Master write", "master_write.dem.sce"; + "Jacobi functions","Jacobi.dem.sce"; + "String Functions","string.dem.sce"; + ] "Ffilt coeff. of FIR low pass filter","ffilt.dem.sce"; "Design of FIR linear phase filters using freq. samping technique","fsfirlin.dem.sce"; "Samples of sinc function","filt_sinc.dem.sce"; - ]; - subdemolist(:,2) = demopath + subdemolist(:,2); diff --git a/demos/test_dct.dem.sce b/demos/test_dct.dem.sce deleted file mode 100644 index b1b6247..0000000 --- a/demos/test_dct.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// -// 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 deleted file mode 100644 index b1d3339..0000000 --- a/demos/test_idct.dem.sce +++ /dev/null @@ -1,18 +0,0 @@ -// -// 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"); - -- cgit