summaryrefslogtreecommitdiffstats
path: root/scilab/modules
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2010-02-02 16:50:46 +0100
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2010-02-02 16:50:46 +0100
commit4543a005198ee3197c08e553378430c9bc590911 (patch)
treef48aacd7ed42e1a1b0f13d95fa7185fe4b6afde7 /scilab/modules
parent7262c7b88b413c8a0b09bb0a627d613cdca3f845 (diff)
parent97de4eee52d09735f550d4c632fba106d0cc1762 (diff)
downloadscilab-4543a005198ee3197c08e553378430c9bc590911.zip
scilab-4543a005198ee3197c08e553378430c9bc590911.tar.gz
Merge remote branch 'origin/master' into textrendering
Conflicts: scilab/configure
Diffstat (limited to 'scilab/modules')
-rw-r--r--scilab/modules/Makefile.in4
-rw-r--r--scilab/modules/action_binding/Makefile.in4
-rw-r--r--scilab/modules/action_binding/src/c/action_binding.vcproj4
-rw-r--r--scilab/modules/api_scilab/Makefile.in4
-rw-r--r--scilab/modules/api_scilab/api_scilab.vcproj4
-rw-r--r--scilab/modules/api_scilab/help/en_US/boolean/A_isBooleanType.xml57
-rw-r--r--scilab/modules/api_scilab/help/en_US/boolean/B_getScalarBoolean.xml65
-rw-r--r--scilab/modules/api_scilab/help/en_US/boolean/C_createScalarBoolean.xml65
-rw-r--r--scilab/modules/api_scilab/help/en_US/boolean/D_booleanExample.xml122
-rw-r--r--scilab/modules/api_scilab/help/en_US/boolean_sparse/A_isBooleanSparseType.xml57
-rw-r--r--scilab/modules/api_scilab/help/en_US/boolean_sparse/B_getAllocatedBooleanSparseMatrix.xml97
-rw-r--r--scilab/modules/api_scilab/help/en_US/boolean_sparse/CHAPTER1
-rw-r--r--scilab/modules/api_scilab/help/en_US/boolean_sparse/C_freeAllocatedBooleanSparse.xml53
-rw-r--r--scilab/modules/api_scilab/help/en_US/boolean_sparse/D_booleanSparseExample.xml98
-rw-r--r--scilab/modules/api_scilab/help/en_US/double/A_isDoubleType.xml57
-rw-r--r--scilab/modules/api_scilab/help/en_US/double/B_getScalarDouble.xml65
-rw-r--r--scilab/modules/api_scilab/help/en_US/double/C_getScalarComplexDouble.xml73
-rw-r--r--scilab/modules/api_scilab/help/en_US/double/D_createScalarDouble.xml65
-rw-r--r--scilab/modules/api_scilab/help/en_US/double/E_createScalarComplexDouble.xml73
-rw-r--r--scilab/modules/api_scilab/help/en_US/double/F_doubleExample.xml163
-rw-r--r--scilab/modules/api_scilab/help/en_US/integer/A_isIntegerType.xml57
-rw-r--r--scilab/modules/api_scilab/help/en_US/integer/B_getScalarInteger.xml110
-rw-r--r--scilab/modules/api_scilab/help/en_US/integer/C_createScalarInteger.xml110
-rw-r--r--scilab/modules/api_scilab/help/en_US/integer/D_intergerExample.xml344
-rw-r--r--scilab/modules/api_scilab/help/en_US/list_management/CHAPTER1
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/CHAPTER1
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/boolean_reading_api.xml (renamed from scilab/modules/api_scilab/help/en_US/boolean_reading_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/boolean_writing_api.xml (renamed from scilab/modules/api_scilab/help/en_US/boolean_writing_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/bsparse_reading_api.xml (renamed from scilab/modules/api_scilab/help/en_US/bsparse_reading_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/bsparse_writing_api.xml (renamed from scilab/modules/api_scilab/help/en_US/bsparse_writing_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/common_getvaraddr_api.xml (renamed from scilab/modules/api_scilab/help/en_US/common_getvaraddr_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/common_getvardimension_api.xml (renamed from scilab/modules/api_scilab/help/en_US/common_getvardimension_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/common_getvartype_api.xml (renamed from scilab/modules/api_scilab/help/en_US/common_getvartype_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/common_iscomplex_api.xml (renamed from scilab/modules/api_scilab/help/en_US/common_iscomplex_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/common_isvarmatrixtype_api.xml (renamed from scilab/modules/api_scilab/help/en_US/common_isvarmatrixtype_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/double_reading_api.xml (renamed from scilab/modules/api_scilab/help/en_US/double_reading_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/double_writing_api.xml (renamed from scilab/modules/api_scilab/help/en_US/double_writing_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/int_getmatrixofintegerprecision_api.xml (renamed from scilab/modules/api_scilab/help/en_US/int_getmatrixofintegerprecision_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/integer_reading_api.xml (renamed from scilab/modules/api_scilab/help/en_US/integer_reading_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/integer_writing_api.xml (renamed from scilab/modules/api_scilab/help/en_US/integer_writing_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/pointer_reading_api.xml (renamed from scilab/modules/api_scilab/help/en_US/pointer_reading_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/pointer_writing_api.xml (renamed from scilab/modules/api_scilab/help/en_US/pointer_writing_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/poly_getpolyvariablename_api.xml (renamed from scilab/modules/api_scilab/help/en_US/poly_getpolyvariablename_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/poly_reading_api.xml (renamed from scilab/modules/api_scilab/help/en_US/poly_reading_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/poly_writing_api.xml (renamed from scilab/modules/api_scilab/help/en_US/poly_writing_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/sparse_reading_api.xml (renamed from scilab/modules/api_scilab/help/en_US/sparse_reading_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/sparse_writing_api.xml (renamed from scilab/modules/api_scilab/help/en_US/sparse_writing_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/string_reading_api.xml (renamed from scilab/modules/api_scilab/help/en_US/string_reading_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/low_level_functions/string_writing_api.xml (renamed from scilab/modules/api_scilab/help/en_US/string_writing_api.xml)0
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/A_isPolyType.xml57
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/B_getAllocatedSinglePoly.xml73
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/C_getAllocatedSingleComplexPoly.xml81
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/D_getAllocatedMatrixOfPoly.xml89
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/E_getAllocatedMatrixOfComplexPoly.xml97
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/F_freeAllocatedSinglePoly.xml45
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/G_freeAllocatedSingleComplexPoly.xml53
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/H_freeAllocatedMatrixOfPoly.xml45
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/I_freeAllocatedMatrixOfComplexPoly.xml45
-rw-r--r--scilab/modules/api_scilab/help/en_US/polynom/J_polyExample.xml183
-rw-r--r--scilab/modules/api_scilab/help/en_US/sparse/A_isSparseType.xml57
-rw-r--r--scilab/modules/api_scilab/help/en_US/sparse/B_getAllocatedSparseMatrix.xml105
-rw-r--r--scilab/modules/api_scilab/help/en_US/sparse/C_getAllocatedComplexSparseMatrix.xml113
-rw-r--r--scilab/modules/api_scilab/help/en_US/sparse/D_freeAllocatedSparseMatrix.xml61
-rw-r--r--scilab/modules/api_scilab/help/en_US/sparse/E_freeAllocatedComplexSparseMatrix.xml69
-rw-r--r--scilab/modules/api_scilab/help/en_US/sparse/F_sparseExample.xml125
-rw-r--r--scilab/modules/api_scilab/help/en_US/string/A_isStringType.xml57
-rw-r--r--scilab/modules/api_scilab/help/en_US/string/B_getAllocatedSingleString.xml74
-rw-r--r--scilab/modules/api_scilab/help/en_US/string/C_getAllocatedMatrixOfString.xml90
-rw-r--r--scilab/modules/api_scilab/help/en_US/string/D_createSingleString.xml74
-rw-r--r--scilab/modules/api_scilab/help/en_US/string/E_freeAllocatedSingleString.xml54
-rw-r--r--scilab/modules/api_scilab/help/en_US/string/F_freeAllocatedMatrixOfString.xml70
-rw-r--r--scilab/modules/api_scilab/help/en_US/string/G_stringExample.xml123
-rw-r--r--scilab/modules/api_scilab/includes/api_int.h32
-rw-r--r--scilab/modules/api_scilab/src/cpp/api_common.cpp2
-rw-r--r--scilab/modules/api_scilab/src/cpp/api_int.cpp64
-rw-r--r--scilab/modules/api_scilab/src/cpp/api_poly.cpp12
-rw-r--r--scilab/modules/api_scilab/src/cpp/api_sparse.cpp8
-rw-r--r--scilab/modules/arnoldi/Makefile.in4
-rw-r--r--scilab/modules/arnoldi/arnoldi.vcproj4
-rw-r--r--scilab/modules/atoms/Makefile.in4
-rw-r--r--scilab/modules/atoms/macros/atomsInstall.sci54
-rw-r--r--scilab/modules/atoms/macros/atomsRemove.sci16
-rw-r--r--scilab/modules/atoms/macros/atomsRepositoryAdd.sci2
-rw-r--r--scilab/modules/atoms/macros/atoms_gui/cbAtomsGui.sci40
-rw-r--r--scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci50
-rw-r--r--scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONread.sci36
-rw-r--r--scilab/modules/atoms/macros/atoms_internals/atomsDownload.sci22
-rw-r--r--scilab/modules/atoms/macros/atoms_internals/atomsExtract.sci16
-rw-r--r--scilab/modules/atoms/macros/atoms_internals/atomsGetPlatform.sci53
-rw-r--r--scilab/modules/atoms/tests/unit_tests/atomsInstall.dia.ref14
-rw-r--r--scilab/modules/atoms/tests/unit_tests/atomsInstall.tst22
-rw-r--r--scilab/modules/atoms/tests/unit_tests/toolbox_7_1.0-1.bin.zipbin0 -> 37127 bytes
-rw-r--r--scilab/modules/boolean/Makefile.in4
-rw-r--r--scilab/modules/boolean/src/c/boolean.vcproj4
-rw-r--r--scilab/modules/boolean/src/fortran/boolean_f.vfproj4
-rw-r--r--scilab/modules/cacsd/Makefile.in4
-rw-r--r--scilab/modules/cacsd/src/c/cacsd.vcproj4
-rw-r--r--scilab/modules/cacsd/src/fortran/cacsd_f.vfproj4
-rw-r--r--scilab/modules/cacsd/src/slicot/slicot_f/slicot_f.vfproj4
-rw-r--r--scilab/modules/call_scilab/Makefile.in4
-rw-r--r--scilab/modules/call_scilab/call_scilab.vcproj4
-rw-r--r--scilab/modules/compatibility_functions/Makefile.in4
-rw-r--r--scilab/modules/completion/Makefile.in4
-rw-r--r--scilab/modules/completion/src/c/completion.vcproj4
-rw-r--r--scilab/modules/completion/src/nocompletion/nocompletion.vcproj4
-rw-r--r--scilab/modules/console/Makefile.am6
-rw-r--r--scilab/modules/console/Makefile.in10
-rw-r--r--scilab/modules/console/src/c/console.vcproj4
-rw-r--r--scilab/modules/console/src/noconsole/noconsole.vcproj4
-rw-r--r--scilab/modules/core/Makefile.in4
-rw-r--r--scilab/modules/core/sci_gateway/c/sci_getmd5.c163
-rw-r--r--scilab/modules/core/src/c/core.vcproj4
-rw-r--r--scilab/modules/core/src/c/getdynamicDebugInfo_Windows.c36
-rw-r--r--scilab/modules/core/src/c/getstaticDebugInfo_Windows.c34
-rw-r--r--scilab/modules/core/src/c/getstaticdebuginfo.c3
-rw-r--r--scilab/modules/core/src/cpp/hashtable_core.cpp1
-rw-r--r--scilab/modules/core/src/fortran/core_f.vfproj4
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_6521.dia.ref15
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_6521.tst17
-rw-r--r--scilab/modules/data_structures/Makefile.in4
-rw-r--r--scilab/modules/data_structures/macros/struct.sci10
-rw-r--r--scilab/modules/data_structures/src/c/data_structures.vcproj4
-rw-r--r--scilab/modules/data_structures/src/fortran/data_structures_f.vfproj4
-rw-r--r--scilab/modules/demo_tools/Makefile.in4
-rw-r--r--scilab/modules/development_tools/Makefile.in4
-rw-r--r--scilab/modules/development_tools/src/fake/Makefile.in4
-rw-r--r--scilab/modules/differential_equations/Makefile.in4
-rw-r--r--scilab/modules/differential_equations/src/c/differential_equations.vcproj4
-rw-r--r--scilab/modules/differential_equations/src/fortran/differential_equations_f.vfproj4
-rw-r--r--scilab/modules/double/Makefile.in4
-rw-r--r--scilab/modules/double/src/c/double.vcproj4
-rw-r--r--scilab/modules/double/src/fortran/double_f.vfproj4
-rw-r--r--scilab/modules/dynamic_link/Makefile.in4
-rw-r--r--scilab/modules/dynamic_link/src/c/dynamic_link.vcproj4
-rw-r--r--scilab/modules/dynamic_link/src/fortran/dynamic_link_f.vfproj4
-rw-r--r--scilab/modules/elementary_functions/Makefile.in4
-rw-r--r--scilab/modules/elementary_functions/src/c/elementary_functions.vcproj4
-rw-r--r--scilab/modules/elementary_functions/src/fortran/eispack/eispack_f.vfproj4
-rw-r--r--scilab/modules/elementary_functions/src/fortran/elementary_functions_f.vfproj4
-rw-r--r--scilab/modules/elementary_functions/src/fortran/linpack/linpack_f.vfproj4
-rw-r--r--scilab/modules/elementary_functions/src/fortran/slatec/slatec_f.vfproj4
-rw-r--r--scilab/modules/fftw/Makefile.in4
-rw-r--r--scilab/modules/fftw/fftw.vcproj4
-rw-r--r--scilab/modules/fftw/src/nofftw/nofftw.vcproj4
-rw-r--r--scilab/modules/fileio/Makefile.in4
-rw-r--r--scilab/modules/fileio/fileio.vcproj4
-rw-r--r--scilab/modules/fileio/includes/filesmanagement.h58
-rw-r--r--scilab/modules/fileio/src/c/filesmanagement.c218
-rw-r--r--scilab/modules/fileio/src/c/mseek.c22
-rw-r--r--scilab/modules/fileio/src/c/mtell.c12
-rw-r--r--scilab/modules/fileio/tests/nonreg_tests/bug_6484.dia.ref22
-rw-r--r--scilab/modules/fileio/tests/nonreg_tests/bug_6484.tst24
-rw-r--r--scilab/modules/fileio/tests/nonreg_tests/bug_6511.tst44
-rw-r--r--scilab/modules/functions/Makefile.in4
-rw-r--r--scilab/modules/functions/src/c/functions.vcproj4
-rw-r--r--scilab/modules/functions/src/fortran/functions_f.vfproj4
-rw-r--r--scilab/modules/genetic_algorithms/Makefile.in4
-rw-r--r--scilab/modules/graphic_export/Makefile.in4
-rw-r--r--scilab/modules/graphic_export/graphic_export.vcproj4
-rw-r--r--scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/GL2PSRenderer.java9
-rw-r--r--scilab/modules/graphic_export/src/nographic_export/nographic_export.vcproj4
-rw-r--r--scilab/modules/graphic_export/tests/nonreg_tests/bug_5436.tst33
-rw-r--r--scilab/modules/graphics/Makefile.in4
-rw-r--r--scilab/modules/graphics/graphics.vcproj4
-rw-r--r--scilab/modules/graphics/src/nographics/nographics.vcproj4
-rw-r--r--scilab/modules/gui/Makefile.in4
-rw-r--r--scilab/modules/gui/src/c/gui.vcproj4
-rw-r--r--scilab/modules/hdf5/Makefile.am17
-rw-r--r--scilab/modules/hdf5/Makefile.in41
-rw-r--r--scilab/modules/hdf5/src/c/h5_readDataFromFile.c24
-rw-r--r--scilab/modules/hdf5/src/c/h5_writeDataToFile.c18
-rw-r--r--scilab/modules/hdf5/src/c/hdf5.vcproj4
-rw-r--r--scilab/modules/hdf5/tests/java/testScilabBoolean.java75
-rw-r--r--scilab/modules/hdf5/tests/java/testScilabDouble.java104
-rw-r--r--scilab/modules/hdf5/tests/java/testScilabGraph.java185
-rw-r--r--scilab/modules/hdf5/tests/java/testScilabList.java68
-rw-r--r--scilab/modules/hdf5/tests/java/testScilabString.java84
-rw-r--r--scilab/modules/hdf5/tests/unit_tests/testScilabBoolean.java74
-rw-r--r--scilab/modules/hdf5/tests/unit_tests/testScilabDouble.java111
-rw-r--r--scilab/modules/hdf5/tests/unit_tests/testScilabGraph.java182
-rw-r--r--scilab/modules/hdf5/tests/unit_tests/testScilabList.java64
-rw-r--r--scilab/modules/hdf5/tests/unit_tests/testScilabString.java82
-rw-r--r--scilab/modules/helptools/Makefile.in4
-rw-r--r--scilab/modules/helptools/helptools.iss11
-rw-r--r--scilab/modules/helptools/src/c/helptools.vcproj4
-rw-r--r--scilab/modules/history_manager/Makefile.in4
-rw-r--r--scilab/modules/history_manager/src/c/history_manager.vcproj4
-rw-r--r--scilab/modules/history_manager/src/nohistory_manager/nohistory_manager.vcproj4
-rw-r--r--scilab/modules/integer/Makefile.in4
-rw-r--r--scilab/modules/integer/src/c/integer.vcproj4
-rw-r--r--scilab/modules/integer/src/fortran/integer_f.vfproj4
-rw-r--r--scilab/modules/interpolation/Makefile.in4
-rw-r--r--scilab/modules/interpolation/src/c/interpolation.vcproj4
-rw-r--r--scilab/modules/interpolation/src/fortran/interpolation_f.vfproj4
-rw-r--r--scilab/modules/intersci/Makefile.in4
-rw-r--r--scilab/modules/intersci/src/exe/intersciexe/intersciexe.vcproj4
-rw-r--r--scilab/modules/intersci/src/exe/interscin/interscin.vcproj4
-rw-r--r--scilab/modules/intersci/src/lib/intersci.vcproj4
-rw-r--r--scilab/modules/io/Makefile.in4
-rw-r--r--scilab/modules/io/sci_gateway/c/sci_file.c335
-rw-r--r--scilab/modules/io/src/c/io.vcproj4
-rw-r--r--scilab/modules/io/src/fortran/io_f.vfproj4
-rw-r--r--scilab/modules/io/tests/unit_tests/file.dia.ref47
-rw-r--r--scilab/modules/io/tests/unit_tests/file.tst48
-rw-r--r--scilab/modules/javasci/Javasci.vcproj4
-rw-r--r--scilab/modules/javasci/Makefile.in4
-rw-r--r--scilab/modules/jvm/Makefile.in4
-rw-r--r--scilab/modules/jvm/libjvm.vcproj4
-rw-r--r--scilab/modules/linear_algebra/Makefile.in4
-rw-r--r--scilab/modules/linear_algebra/src/c/linear_algebra.vcproj4
-rw-r--r--scilab/modules/linear_algebra/src/fortran/linear_algebra_f.vfproj4
-rw-r--r--scilab/modules/localization/Makefile.in4
-rw-r--r--scilab/modules/localization/src/localization.vcproj4
-rw-r--r--scilab/modules/m2sci/Makefile.in4
-rw-r--r--scilab/modules/maple2scilab/Makefile.in4
-rw-r--r--scilab/modules/matio/Makefile.in4
-rw-r--r--scilab/modules/matio/matio.vcproj4
-rw-r--r--scilab/modules/mexlib/Makefile.in4
-rw-r--r--scilab/modules/mexlib/src/libmat/libmat.vcproj4
-rw-r--r--scilab/modules/mexlib/src/libmex/libmex.vcproj4
-rw-r--r--scilab/modules/mexlib/src/libmx/libmx.vcproj4
-rw-r--r--scilab/modules/optimization/Makefile.in4
-rw-r--r--scilab/modules/optimization/src/c/optimization.vcproj4
-rw-r--r--scilab/modules/optimization/src/fortran/optimization_f.vfproj4
-rw-r--r--scilab/modules/output_stream/Makefile.in4
-rw-r--r--scilab/modules/output_stream/src/c/output_stream.vcproj4
-rw-r--r--scilab/modules/output_stream/src/fortran/output_stream_f.vfproj4
-rw-r--r--scilab/modules/overloading/Makefile.in4
-rw-r--r--scilab/modules/parameters/Makefile.in4
-rw-r--r--scilab/modules/polynomials/Makefile.in4
-rw-r--r--scilab/modules/polynomials/src/c/polynomials.vcproj4
-rw-r--r--scilab/modules/polynomials/src/fortran/polynomials_f.vfproj4
-rw-r--r--scilab/modules/polynomials/src/fortran/rpoly.f9
-rw-r--r--scilab/modules/pvm/Makefile.in4
-rw-r--r--scilab/modules/pvm/pvm.vcproj4
-rw-r--r--scilab/modules/pvm/src/nopvm/nopvm.vcproj4
-rw-r--r--scilab/modules/randlib/Makefile.in4
-rw-r--r--scilab/modules/randlib/src/c/randlib.vcproj4
-rw-r--r--scilab/modules/randlib/src/fortran/randlib_f.vfproj4
-rw-r--r--scilab/modules/randlib/src/norandlib/norandlib.vcproj4
-rw-r--r--scilab/modules/renderer/Makefile.in4
-rw-r--r--scilab/modules/renderer/renderer.vcproj4
-rw-r--r--scilab/modules/scicos/Makefile.in4
-rw-r--r--scilab/modules/scicos/src/c/noscicos/noscicos.vcproj4
-rw-r--r--scilab/modules/scicos/src/c/scicos.vcproj4
-rw-r--r--scilab/modules/scicos/src/fortran/scicos_f.vfproj4
-rw-r--r--scilab/modules/scicos/src/scicos_sundials/scicos_sundials.vcproj4
-rw-r--r--scilab/modules/scicos_blocks/Makefile.in4
-rw-r--r--scilab/modules/scicos_blocks/src/c/scicos_blocks.vcproj4
-rw-r--r--scilab/modules/scicos_blocks/src/fortran/scicos_blocks_f.vfproj4
-rw-r--r--scilab/modules/shell/Makefile.in4
-rw-r--r--scilab/modules/shell/src/c/shell.vcproj4
-rw-r--r--scilab/modules/signal_processing/Makefile.in4
-rw-r--r--scilab/modules/signal_processing/src/c/signal_processing.vcproj4
-rw-r--r--scilab/modules/signal_processing/src/fortran/signal_processing_f.vfproj4
-rw-r--r--scilab/modules/simulated_annealing/Makefile.in4
-rw-r--r--scilab/modules/sound/Makefile.in4
-rw-r--r--scilab/modules/sound/sound.vcproj4
-rw-r--r--scilab/modules/sound/src/nosound/nosound.vcproj4
-rw-r--r--scilab/modules/sparse/Makefile.in4
-rw-r--r--scilab/modules/sparse/src/c/sparse.vcproj4
-rw-r--r--scilab/modules/sparse/src/fortran/sparse_f.vfproj4
-rw-r--r--scilab/modules/special_functions/Makefile.in4
-rw-r--r--scilab/modules/special_functions/src/c/special_functions.vcproj4
-rw-r--r--scilab/modules/special_functions/src/fortran/special_functions_f.vfproj4
-rw-r--r--scilab/modules/spreadsheet/Makefile.in4
-rw-r--r--scilab/modules/spreadsheet/spreadsheet.vcproj4
-rw-r--r--scilab/modules/spreadsheet/src/nospreadsheet/nospreadsheet.vcproj4
-rw-r--r--scilab/modules/statistics/Makefile.in4
-rw-r--r--scilab/modules/statistics/src/c/statistics.vcproj4
-rw-r--r--scilab/modules/statistics/src/dcdflib/dcd_f/dcd_DLL.vfproj4
-rw-r--r--scilab/modules/string/Makefile.in4
-rw-r--r--scilab/modules/string/src/c/string.vcproj4
-rw-r--r--scilab/modules/string/src/fortran/string_f.vfproj4
-rw-r--r--scilab/modules/symbolic/Makefile.in4
-rw-r--r--scilab/modules/symbolic/src/c/symbolic.vcproj4
-rw-r--r--scilab/modules/symbolic/src/fortran/symbolic_f.vfproj4
-rw-r--r--scilab/modules/tclsci/Makefile.in4
-rw-r--r--scilab/modules/tclsci/src/notclsci/notclsci.vcproj4
-rw-r--r--scilab/modules/tclsci/tclsci.vcproj4
-rw-r--r--scilab/modules/texmacs/Makefile.in4
-rw-r--r--scilab/modules/time/Makefile.in4
-rw-r--r--scilab/modules/time/time.vcproj4
-rw-r--r--scilab/modules/umfpack/Makefile.in4
-rw-r--r--scilab/modules/umfpack/src/c/umfpack.vcproj4
-rw-r--r--scilab/modules/umfpack/src/noumfpack/noumfpack.vcproj4
-rw-r--r--scilab/modules/windows_tools/Makefile.in4
-rw-r--r--scilab/modules/windows_tools/src/c/CScilex/CScilex.c8
-rw-r--r--scilab/modules/windows_tools/src/c/CScilex/CScilex.vcproj4
-rw-r--r--scilab/modules/windows_tools/src/c/WScilex/WScilex.c8
-rw-r--r--scilab/modules/windows_tools/src/c/WScilex/WScilex.vcproj4
-rw-r--r--scilab/modules/windows_tools/src/c/httpdownloadfile.c5
-rw-r--r--scilab/modules/windows_tools/src/c/scilab_windows/scilab_windows.vcproj4
-rw-r--r--scilab/modules/windows_tools/src/c/windows_tools.vcproj4
-rw-r--r--scilab/modules/windows_tools/src/nowindows_tools/nowindows_tools.vcproj4
-rw-r--r--scilab/modules/xcos/Makefile.in4
-rw-r--r--scilab/modules/xcos/etc/Xcos-style.xml4
-rw-r--r--scilab/modules/xcos/src/c/xcos.vcproj4
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/graph/ScilabComponent.java31
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/graph/ScilabGraph.java51
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/graph/event/ArrowKeyListener.java174
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/graph/utils/ScilabConstants.java4
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/XcosTab.java414
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/FitDiagramToViewAction.java4
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/StopAction.java1
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/AfficheBlock.java1
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/BasicBlock.java180
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/BlockFactory.java39
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/ConstBlock.java2
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/SplitBlock.java94
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/SuperBlock.java328
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/TextBlock.java118
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/RegionToSuperblockAction.java74
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/SuperblockMaskCreateAction.java5
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/SuperblockMaskCustomizeAction.java29
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/SuperblockMaskRemoveAction.java5
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/io/ContextUpdate.java36
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/io/EventInBlock.java1
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/io/EventOutBlock.java1
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/io/ExplicitInBlock.java1
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/io/ExplicitOutBlock.java1
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/io/ImplicitInBlock.java1
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/io/ImplicitOutBlock.java1
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/positionning/GroundBlock.java4
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/positionning/VoltageSensorBlock.java27
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/PaletteDiagram.java74
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/XcosDiagram.java1
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/BasicBlockInfo.java345
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/BlockReader.java69
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/BlockWriter.java80
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/XcosCodec.java30
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/XcosDiagramCodec.java41
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/Palette.java18
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/PaletteConfigurator.java96
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/listener/PaletteManagerMouseListener.java9
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/listener/PaletteManagerTreeSelectionListener.java42
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/model/PaletteManagerModel.java65
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/ModifiedFlowLayout.java99
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/PaletteComponent.java (renamed from scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/XcosComponent.java)9
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/PaletteConfiguratorListView.java101
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/PaletteConfiguratorView.java80
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/PaletteView.java84
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/ConfigXcosManager.java11
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/XcosConstants.java7
-rw-r--r--scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/XcosMessages.java2
-rw-r--r--scilab/modules/xcos/tests/nonreg_tests/bug_5411.tst27
-rw-r--r--scilab/modules/xcos/tests/nonreg_tests/bug_6474.tst31
-rw-r--r--scilab/modules/xpad/Makefile.in4
-rw-r--r--scilab/modules/xpad/src/c/xpad.vcproj4
-rw-r--r--scilab/modules/xpad/src/java/org/scilab/modules/xpad/style/CommentManager.java12
-rw-r--r--scilab/modules/xpad/src/java/org/scilab/modules/xpad/utils/ConfigXpadManager.java2
351 files changed, 7523 insertions, 2493 deletions
diff --git a/scilab/modules/Makefile.in b/scilab/modules/Makefile.in
index a849dc9..c6e0393 100644
--- a/scilab/modules/Makefile.in
+++ b/scilab/modules/Makefile.in
@@ -203,6 +203,7 @@ AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
203AWK = @AWK@ 203AWK = @AWK@
204BATIK = @BATIK@ 204BATIK = @BATIK@
205BLAS_LIBS = @BLAS_LIBS@ 205BLAS_LIBS = @BLAS_LIBS@
206BSH = @BSH@
206CC = @CC@ 207CC = @CC@
207CCDEPMODE = @CCDEPMODE@ 208CCDEPMODE = @CCDEPMODE@
208CFLAGS = @CFLAGS@ 209CFLAGS = @CFLAGS@
@@ -276,6 +277,7 @@ JLATEXMATH_FOP = @JLATEXMATH_FOP@
276JOGL = @JOGL@ 277JOGL = @JOGL@
277JROSETTA_API = @JROSETTA_API@ 278JROSETTA_API = @JROSETTA_API@
278JROSETTA_ENGINE = @JROSETTA_ENGINE@ 279JROSETTA_ENGINE = @JROSETTA_ENGINE@
280JUNIT = @JUNIT@
279LAPACK_LIBS = @LAPACK_LIBS@ 281LAPACK_LIBS = @LAPACK_LIBS@
280LD = @LD@ 282LD = @LD@
281LDFLAGS = @LDFLAGS@ 283LDFLAGS = @LDFLAGS@
@@ -332,6 +334,7 @@ PVM_ENABLE = @PVM_ENABLE@
332PVM_INCLUDE = @PVM_INCLUDE@ 334PVM_INCLUDE = @PVM_INCLUDE@
333PVM_LIB = @PVM_LIB@ 335PVM_LIB = @PVM_LIB@
334PYTHON = @PYTHON@ 336PYTHON = @PYTHON@
337QDOX = @QDOX@
335RANLIB = @RANLIB@ 338RANLIB = @RANLIB@
336RELOCATABLE = @RELOCATABLE@ 339RELOCATABLE = @RELOCATABLE@
337RT_LIB = @RT_LIB@ 340RT_LIB = @RT_LIB@
@@ -350,6 +353,7 @@ SWIG_JAVA = @SWIG_JAVA@
350SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@ 353SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
351TCLTK_LIBS = @TCLTK_LIBS@ 354TCLTK_LIBS = @TCLTK_LIBS@
352TCL_INC_PATH = @TCL_INC_PATH@ 355TCL_INC_PATH = @TCL_INC_PATH@
356TESTNG = @TESTNG@
353TK_INC_PATH = @TK_INC_PATH@ 357TK_INC_PATH = @TK_INC_PATH@
354UMFPACK_ENABLE = @UMFPACK_ENABLE@ 358UMFPACK_ENABLE = @UMFPACK_ENABLE@
355UMFPACK_LIB = @UMFPACK_LIB@ 359UMFPACK_LIB = @UMFPACK_LIB@
diff --git a/scilab/modules/action_binding/Makefile.in b/scilab/modules/action_binding/Makefile.in
index 7b87f9b..9347215 100644
--- a/scilab/modules/action_binding/Makefile.in
+++ b/scilab/modules/action_binding/Makefile.in
@@ -168,6 +168,7 @@ AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
168AWK = @AWK@ 168AWK = @AWK@
169BATIK = @BATIK@ 169BATIK = @BATIK@
170BLAS_LIBS = @BLAS_LIBS@ 170BLAS_LIBS = @BLAS_LIBS@
171BSH = @BSH@
171CC = @CC@ 172CC = @CC@
172CCDEPMODE = @CCDEPMODE@ 173CCDEPMODE = @CCDEPMODE@
173CFLAGS = @CFLAGS@ 174CFLAGS = @CFLAGS@
@@ -241,6 +242,7 @@ JLATEXMATH_FOP = @JLATEXMATH_FOP@
241JOGL = @JOGL@ 242JOGL = @JOGL@
242JROSETTA_API = @JROSETTA_API@ 243JROSETTA_API = @JROSETTA_API@
243JROSETTA_ENGINE = @JROSETTA_ENGINE@ 244JROSETTA_ENGINE = @JROSETTA_ENGINE@
245JUNIT = @JUNIT@
244LAPACK_LIBS = @LAPACK_LIBS@ 246LAPACK_LIBS = @LAPACK_LIBS@
245LD = @LD@ 247LD = @LD@
246LDFLAGS = @LDFLAGS@ 248LDFLAGS = @LDFLAGS@
@@ -297,6 +299,7 @@ PVM_ENABLE = @PVM_ENABLE@
297PVM_INCLUDE = @PVM_INCLUDE@ 299PVM_INCLUDE = @PVM_INCLUDE@
298PVM_LIB = @PVM_LIB@ 300PVM_LIB = @PVM_LIB@
299PYTHON = @PYTHON@ 301PYTHON = @PYTHON@
302QDOX = @QDOX@
300RANLIB = @RANLIB@ 303RANLIB = @RANLIB@
301RELOCATABLE = @RELOCATABLE@ 304RELOCATABLE = @RELOCATABLE@
302RT_LIB = @RT_LIB@ 305RT_LIB = @RT_LIB@
@@ -315,6 +318,7 @@ SWIG_JAVA = @SWIG_JAVA@
315SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@ 318SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
316TCLTK_LIBS = @TCLTK_LIBS@ 319TCLTK_LIBS = @TCLTK_LIBS@
317TCL_INC_PATH = @TCL_INC_PATH@ 320TCL_INC_PATH = @TCL_INC_PATH@
321TESTNG = @TESTNG@
318TK_INC_PATH = @TK_INC_PATH@ 322TK_INC_PATH = @TK_INC_PATH@
319UMFPACK_ENABLE = @UMFPACK_ENABLE@ 323UMFPACK_ENABLE = @UMFPACK_ENABLE@
320UMFPACK_LIB = @UMFPACK_LIB@ 324UMFPACK_LIB = @UMFPACK_LIB@
diff --git a/scilab/modules/action_binding/src/c/action_binding.vcproj b/scilab/modules/action_binding/src/c/action_binding.vcproj
index 44af0c9..ec1cd96 100644
--- a/scilab/modules/action_binding/src/c/action_binding.vcproj
+++ b/scilab/modules/action_binding/src/c/action_binding.vcproj
@@ -43,7 +43,7 @@
43 /> 43 />
44 <Tool 44 <Tool
45 Name="VCCLCompilerTool" 45 Name="VCCLCompilerTool"
46 AdditionalOptions="/arch:IA32" 46 AdditionalOptions=""
47 Optimization="0" 47 Optimization="0"
48 AdditionalIncludeDirectories=".;../../includes;../jni;../../../../libs/MALLOC/includes;../../../output_stream/includes;../../../core/includes;../../../jvm/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../localization/includes;../../../../libs/intl" 48 AdditionalIncludeDirectories=".;../../includes;../jni;../../../../libs/MALLOC/includes;../../../output_stream/includes;../../../core/includes;../../../jvm/includes;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../../localization/includes;../../../../libs/intl"
49 PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;ACTION_BINDING_EXPORTS" 49 PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;ACTION_BINDING_EXPORTS"
@@ -212,7 +212,7 @@
212 /> 212 />
213 <Tool 213 <Tool
214 Name="VCCLCompilerTool" 214 Name="VCCLCompilerTool"
215 AdditionalOptions="/arch:IA32" 215 AdditionalOptions=""
216 InlineFunctionExpansion="1" 216 InlineFunctionExpansion="1"
217 FavorSizeOrSpeed="1" 217 FavorSizeOrSpeed="1"
218 WholeProgramOptimization="false" 218 WholeProgramOptimization="false"
diff --git a/scilab/modules/api_scilab/Makefile.in b/scilab/modules/api_scilab/Makefile.in
index 2ef28f1..a599d7c 100644
--- a/scilab/modules/api_scilab/Makefile.in
+++ b/scilab/modules/api_scilab/Makefile.in
@@ -162,6 +162,7 @@ AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
162AWK = @AWK@ 162AWK = @AWK@
163BATIK = @BATIK@ 163BATIK = @BATIK@
164BLAS_LIBS = @BLAS_LIBS@ 164BLAS_LIBS = @BLAS_LIBS@
165BSH = @BSH@
165CC = @CC@ 166CC = @CC@
166CCDEPMODE = @CCDEPMODE@ 167CCDEPMODE = @CCDEPMODE@
167CFLAGS = @CFLAGS@ 168CFLAGS = @CFLAGS@
@@ -235,6 +236,7 @@ JLATEXMATH_FOP = @JLATEXMATH_FOP@
235JOGL = @JOGL@ 236JOGL = @JOGL@
236JROSETTA_API = @JROSETTA_API@ 237JROSETTA_API = @JROSETTA_API@
237JROSETTA_ENGINE = @JROSETTA_ENGINE@ 238JROSETTA_ENGINE = @JROSETTA_ENGINE@
239JUNIT = @JUNIT@
238LAPACK_LIBS = @LAPACK_LIBS@ 240LAPACK_LIBS = @LAPACK_LIBS@
239LD = @LD@ 241LD = @LD@
240LDFLAGS = @LDFLAGS@ 242LDFLAGS = @LDFLAGS@
@@ -291,6 +293,7 @@ PVM_ENABLE = @PVM_ENABLE@
291PVM_INCLUDE = @PVM_INCLUDE@ 293PVM_INCLUDE = @PVM_INCLUDE@
292PVM_LIB = @PVM_LIB@ 294PVM_LIB = @PVM_LIB@
293PYTHON = @PYTHON@ 295PYTHON = @PYTHON@
296QDOX = @QDOX@
294RANLIB = @RANLIB@ 297RANLIB = @RANLIB@
295RELOCATABLE = @RELOCATABLE@ 298RELOCATABLE = @RELOCATABLE@
296RT_LIB = @RT_LIB@ 299RT_LIB = @RT_LIB@
@@ -309,6 +312,7 @@ SWIG_JAVA = @SWIG_JAVA@
309SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@ 312SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
310TCLTK_LIBS = @TCLTK_LIBS@ 313TCLTK_LIBS = @TCLTK_LIBS@
311TCL_INC_PATH = @TCL_INC_PATH@ 314TCL_INC_PATH = @TCL_INC_PATH@
315TESTNG = @TESTNG@
312TK_INC_PATH = @TK_INC_PATH@ 316TK_INC_PATH = @TK_INC_PATH@
313UMFPACK_ENABLE = @UMFPACK_ENABLE@ 317UMFPACK_ENABLE = @UMFPACK_ENABLE@
314UMFPACK_LIB = @UMFPACK_LIB@ 318UMFPACK_LIB = @UMFPACK_LIB@
diff --git a/scilab/modules/api_scilab/api_scilab.vcproj b/scilab/modules/api_scilab/api_scilab.vcproj
index 440447d..376d4f9 100644
--- a/scilab/modules/api_scilab/api_scilab.vcproj
+++ b/scilab/modules/api_scilab/api_scilab.vcproj
@@ -43,7 +43,7 @@
43 /> 43 />
44 <Tool 44 <Tool
45 Name="VCCLCompilerTool" 45 Name="VCCLCompilerTool"
46 AdditionalOptions="/arch:IA32" 46 AdditionalOptions=""
47 Optimization="0" 47 Optimization="0"
48 AdditionalIncludeDirectories="includes;src/c;../core/includes;../call_scilab/includes;../string/includes;../../libs/MALLOC/includes;../output_stream/includes;../localization/includes;../../libs/intl;../windows_tools/includes" 48 AdditionalIncludeDirectories="includes;src/c;../core/includes;../call_scilab/includes;../string/includes;../../libs/MALLOC/includes;../output_stream/includes;../localization/includes;../../libs/intl;../windows_tools/includes"
49 PreprocessorDefinitions="FORDLL;_DEBUG;_WINDOWS;_USRDLL;API_SCILAB_EXPORTS;_CRT_SECURE_NO_DEPRECATE" 49 PreprocessorDefinitions="FORDLL;_DEBUG;_WINDOWS;_USRDLL;API_SCILAB_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
@@ -210,7 +210,7 @@
210 /> 210 />
211 <Tool 211 <Tool
212 Name="VCCLCompilerTool" 212 Name="VCCLCompilerTool"
213 AdditionalOptions="/arch:IA32" 213 AdditionalOptions=""
214 InlineFunctionExpansion="1" 214 InlineFunctionExpansion="1"
215 FavorSizeOrSpeed="1" 215 FavorSizeOrSpeed="1"
216 WholeProgramOptimization="false" 216 WholeProgramOptimization="false"
diff --git a/scilab/modules/api_scilab/help/en_US/boolean/A_isBooleanType.xml b/scilab/modules/api_scilab/help/en_US/boolean/A_isBooleanType.xml
new file mode 100644
index 0000000..98b31bf
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/boolean/A_isBooleanType.xml
@@ -0,0 +1,57 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="isBooleanType"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>isBooleanType</refname>
23
24 <refpurpose>
25 Check if it is a boolean variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int isBooleanType(void* _pvCtx, int* _piAddress)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Position in the Scilab memory where you want to put the variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 </variablelist>
52 </refsection>
53 <refsection>
54 <title>Return value</title>
55 <para>1 if variable is a boolean type, otherwise 0</para>
56 </refsection>
57</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/boolean/B_getScalarBoolean.xml b/scilab/modules/api_scilab/help/en_US/boolean/B_getScalarBoolean.xml
new file mode 100644
index 0000000..3f6b038
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/boolean/B_getScalarBoolean.xml
@@ -0,0 +1,65 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="getScalarBoolean"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>getScalarBoolean</refname>
23
24 <refpurpose>
25 Read scalar boolean data from a gateway argument.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int getScalarBoolean(void* _pvCtx, int* _piAddress, int* _piBool)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Address of the Scilab variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_piBool</term>
53 <listitem>
54 <para>
55 Return boolean value.
56 </para>
57 </listitem>
58 </varlistentry>
59 </variablelist>
60 </refsection>
61 <refsection>
62 <title>Return value</title>
63 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
64 </refsection>
65</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/boolean/C_createScalarBoolean.xml b/scilab/modules/api_scilab/help/en_US/boolean/C_createScalarBoolean.xml
new file mode 100644
index 0000000..b2158b9
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/boolean/C_createScalarBoolean.xml
@@ -0,0 +1,65 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="createScalarBoolean"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>createScalarBoolean</refname>
23
24 <refpurpose>
25 Create scalar boolean variable in Scilab memory.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int createScalarBoolean(void* _pvCtx, int _iVar, int _iBool)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_iVar</term>
45 <listitem>
46 <para>
47 Position in the Scilab memory where you want to put the variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_iBool</term>
53 <listitem>
54 <para>
55 Boolean value.
56 </para>
57 </listitem>
58 </varlistentry>
59 </variablelist>
60 </refsection>
61 <refsection>
62 <title>Return value</title>
63 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
64 </refsection>
65</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/boolean/D_booleanExample.xml b/scilab/modules/api_scilab/help/en_US/boolean/D_booleanExample.xml
new file mode 100644
index 0000000..8dcce87
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/boolean/D_booleanExample.xml
@@ -0,0 +1,122 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="booleanExample"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20 <refnamediv>
21 <refname>boolean example</refname>
22
23 <refpurpose>
24 Boolean use case.
25 </refpurpose>
26 </refnamediv>
27
28 <refsection>
29 <title>Description</title>
30 <para>This example shows how to get a boolean variable and return it to Scilab.</para>
31 </refsection>
32 <refsection>
33 <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/booleanExample.c-->
34 <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/booleanExample.tst-->
35 <!--Lib_name: booleanExample-->
36 <!--Func_list: booleanExample-->
37 <title>Gateway Source</title>
38 <programlisting role="code_gateway">
39 <![CDATA[
40int booleanExample(char *fname,unsigned long fname_len)
41{
42 SciErr sciErr;
43 int* piAddr = NULL;
44 int iType = 0;
45 int iRet = 0;
46
47 CheckRhs(1,1);
48 CheckLhs(0,1);
49
50 sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddr);
51 if(sciErr.iErr)
52 {
53 printError(&sciErr, 0);
54 return 0;
55 }
56
57 if(isBooleanType(pvApiCtx, piAddr))
58 {
59 if(isScalar(pvApiCtx, piAddr))
60 {
61 int iBool = 0;
62 iRet = getScalarBoolean(pvApiCtx, piAddr, &iBool);
63 if(iRet)
64 {
65 return 0;
66 }
67
68 iRet = createScalarBoolean(pvApiCtx, Rhs + 1, iBool);
69 if(iRet)
70 {
71 return 0;
72 }
73 }
74 else
75 {
76 int iRows = 0;
77 int iCols = 0;
78 int *piBool = NULL;
79
80 sciErr = getMatrixOfBoolean(pvApiCtx, piAddr, &iRows, &iCols, &piBool);
81 if(sciErr.iErr)
82 {
83 printError(&sciErr, 0);
84 return 0;
85 }
86
87 sciErr = createMatrixOfBoolean(pvApiCtx, Rhs + 1, iRows, iCols, piBool);
88 if(sciErr.iErr)
89 {
90 printError(&sciErr, 0);
91 return 0;
92 }
93 }
94 LhsVar(1) = Rhs + 1;
95 }
96 else
97 {
98 LhsVar(1) = 0;
99 }
100 return 0;
101}
102 ]]>
103 </programlisting>
104 </refsection>
105
106 <refsection>
107 <title>Scilab test script</title>
108 <programlisting role="code_scilab">
109 <![CDATA[
110a = %t;
111b = %f;
112c = [a,b;b,a;a,b;b,a];
113d = c';
114
115booleanExample(a) == a
116booleanExample(b) == b
117booleanExample(c) == c
118booleanExample(d) == d
119 ]]>
120 </programlisting>
121 </refsection>
122</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/boolean_sparse/A_isBooleanSparseType.xml b/scilab/modules/api_scilab/help/en_US/boolean_sparse/A_isBooleanSparseType.xml
new file mode 100644
index 0000000..97d2b83
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/boolean_sparse/A_isBooleanSparseType.xml
@@ -0,0 +1,57 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="isBooleanSparseType"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>isBooleanSparseType</refname>
23
24 <refpurpose>
25 Check if it is a boolean sparse variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int isBooleanSparseType(void* _pvCtx, int* _piAddress)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Position in the Scilab memory where you want to put the variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 </variablelist>
52 </refsection>
53 <refsection>
54 <title>Return value</title>
55 <para>1 if variable is a boolean sparse type, otherwise 0</para>
56 </refsection>
57</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/boolean_sparse/B_getAllocatedBooleanSparseMatrix.xml b/scilab/modules/api_scilab/help/en_US/boolean_sparse/B_getAllocatedBooleanSparseMatrix.xml
new file mode 100644
index 0000000..28b85f6
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/boolean_sparse/B_getAllocatedBooleanSparseMatrix.xml
@@ -0,0 +1,97 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="getAllocatedBooleanSparseMatrix"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>getAllocatedBooleanSparseMatrix</refname>
23
24 <refpurpose>
25 Get sparse matrix attributs.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int getAllocatedBooleanSparseMatrix(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int* _piNbItem, int** _piNbItemRow, int** _piColPos)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Address of the Scilab variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_piRows</term>
53 <listitem>
54 <para>
55 Return number of rows of the variable.
56 </para>
57 </listitem>
58 </varlistentry>
59 <varlistentry>
60 <term>_piCols</term>
61 <listitem>
62 <para>
63 Return number of columns of the variable.
64 </para>
65 </listitem>
66 </varlistentry>
67 <varlistentry>
68 <term>_piNbItem</term>
69 <listitem>
70 <para>
71 Return number of non %f value.
72 </para>
73 </listitem>
74 </varlistentry>
75 <varlistentry>
76 <term>_piNbItemRow</term>
77 <listitem>
78 <para>
79 Return number of item in each rows (size: *_piRows).
80 </para>
81 </listitem>
82 </varlistentry>
83 <varlistentry>
84 <term>_piColPos</term>
85 <listitem>
86 <para>
87 Return column position for each item (size: *_piNbItem).
88 </para>
89 </listitem>
90 </varlistentry>
91 </variablelist>
92 </refsection>
93 <refsection>
94 <title>Return value</title>
95 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
96 </refsection>
97</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/boolean_sparse/CHAPTER b/scilab/modules/api_scilab/help/en_US/boolean_sparse/CHAPTER
new file mode 100644
index 0000000..5484471
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/boolean_sparse/CHAPTER
@@ -0,0 +1 @@
title = Boolean Sparse \ No newline at end of file
diff --git a/scilab/modules/api_scilab/help/en_US/boolean_sparse/C_freeAllocatedBooleanSparse.xml b/scilab/modules/api_scilab/help/en_US/boolean_sparse/C_freeAllocatedBooleanSparse.xml
new file mode 100644
index 0000000..d4115c38
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/boolean_sparse/C_freeAllocatedBooleanSparse.xml
@@ -0,0 +1,53 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="freeAllocatedBooleanSparse"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>freeAllocatedBooleanSparse</refname>
23
24 <refpurpose>
25 Free memory allocated by getAllocatedBooleanSparseMatrix function.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>void freeAllocatedBooleanSparse(int* _piNbItemRow, int* _piColPos)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_piNbItemRow</term>
37 <listitem>
38 <para>
39 Pointer "_piNbItemRow" allocated by getAllocatedBooleanSparseMatrix.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piColPos</term>
45 <listitem>
46 <para>
47 Pointer "_piColPos" allocated by getAllocatedBooleanSparseMatrix.
48 </para>
49 </listitem>
50 </varlistentry>
51 </variablelist>
52 </refsection>
53</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/boolean_sparse/D_booleanSparseExample.xml b/scilab/modules/api_scilab/help/en_US/boolean_sparse/D_booleanSparseExample.xml
new file mode 100644
index 0000000..081188d
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/boolean_sparse/D_booleanSparseExample.xml
@@ -0,0 +1,98 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="booleanSparseExample"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20 <refnamediv>
21 <refname>boolean sparse example</refname>
22
23 <refpurpose>
24 Boolean sparse use case.
25 </refpurpose>
26 </refnamediv>
27
28 <refsection>
29 <title>Description</title>
30 <para>This example shows how to get a boolean sparse variable and return it to Scilab.</para>
31 </refsection>
32 <refsection>
33 <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/booleanSparseExample.c-->
34 <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/booleanSparseExample.tst-->
35 <!--Lib_name: booleanSparseExample-->
36 <!--Func_list: booleanSparseExample-->
37 <title>Gateway Source</title>
38 <programlisting role="code_gateway">
39 <![CDATA[
40int booleanSparseExample(char *fname,unsigned long fname_len)
41{
42 SciErr sciErr;
43 int* piAddr = NULL;
44 int iType = 0;
45 int iRet = 0;
46
47 CheckRhs(1,1);
48 CheckLhs(0,1);
49
50 sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddr);
51 if(sciErr.iErr)
52 {
53 printError(&sciErr, 0);
54 return 0;
55 }
56
57 if(isBooleanSparseType(pvApiCtx, piAddr))
58 {
59 int iRows = 0;
60 int iCols = 0;
61 int iNbItem = 0;
62 int* piNbItemRow = NULL;
63 int* piColPos = NULL;
64
65 iRet = getAllocatedBooleanSparseMatrix(pvApiCtx, piAddr, &iRows, &iCols, &iNbItem, &piNbItemRow, &piColPos);
66 if(iRet)
67 {
68 freeAllocatedBooleanSparse(piNbItemRow, piColPos);
69 return iRet;
70 }
71
72 sciErr = createBooleanSparseMatrix(pvApiCtx, Rhs + 1, iRows, iCols, iNbItem, piNbItemRow, piColPos);
73 if(sciErr.iErr)
74 {
75 freeAllocatedBooleanSparse(piNbItemRow, piColPos);
76 printError(&sciErr, 0);
77 return sciErr.iErr;
78 }
79
80 freeAllocatedBooleanSparse(piNbItemRow, piColPos);
81 LhsVar(1) = Rhs + 1;
82 }
83 return 0;
84}
85 ]]>
86 </programlisting>
87 </refsection>
88
89 <refsection>
90 <title>Scilab test script</title>
91 <programlisting role="code_scilab">
92 <![CDATA[
93bsp = sparse([1,1;2,2;3,3],[%t,%t,%t]);
94or(booleanSparseExample(bsp) == bsp)
95 ]]>
96 </programlisting>
97 </refsection>
98</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/double/A_isDoubleType.xml b/scilab/modules/api_scilab/help/en_US/double/A_isDoubleType.xml
new file mode 100644
index 0000000..aec6559
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/double/A_isDoubleType.xml
@@ -0,0 +1,57 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="isDoubleType"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>isDoubleType</refname>
23
24 <refpurpose>
25 Check if it is a double variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int isDoubleType(void* _pvCtx, int* _piAddress)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Position in the Scilab memory where you want to put the variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 </variablelist>
52 </refsection>
53 <refsection>
54 <title>Return value</title>
55 <para>1 if variable is a double type, otherwise 0</para>
56 </refsection>
57</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/double/B_getScalarDouble.xml b/scilab/modules/api_scilab/help/en_US/double/B_getScalarDouble.xml
new file mode 100644
index 0000000..4066dad
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/double/B_getScalarDouble.xml
@@ -0,0 +1,65 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="getScalarDouble"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>getScalarDouble</refname>
23
24 <refpurpose>
25 Get scalar double variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int getScalarDouble(void* _pvCtx, int* _piAddress, double* _pdblReal)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Address of the Scilab variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_pdblReal</term>
53 <listitem>
54 <para>
55 Double value.
56 </para>
57 </listitem>
58 </varlistentry>
59 </variablelist>
60 </refsection>
61 <refsection>
62 <title>Return value</title>
63 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
64 </refsection>
65</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/double/C_getScalarComplexDouble.xml b/scilab/modules/api_scilab/help/en_US/double/C_getScalarComplexDouble.xml
new file mode 100644
index 0000000..cba6872
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/double/C_getScalarComplexDouble.xml
@@ -0,0 +1,73 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="getScalarComplexDouble"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>getScalarComplexDouble</refname>
23
24 <refpurpose>
25 Get scalar complex double variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int getScalarComplexDouble(void* _pvCtx, int* _piAddress, double* _pdblReal, double* _pdblImg)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Position in the Scilab memory where you want to put the variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_pdblReal</term>
53 <listitem>
54 <para>
55 Real part value.
56 </para>
57 </listitem>
58 </varlistentry>
59 <varlistentry>
60 <term>_pdblImg</term>
61 <listitem>
62 <para>
63 Imaginary part value.
64 </para>
65 </listitem>
66 </varlistentry>
67 </variablelist>
68 </refsection>
69 <refsection>
70 <title>Return value</title>
71 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
72 </refsection>
73</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/double/D_createScalarDouble.xml b/scilab/modules/api_scilab/help/en_US/double/D_createScalarDouble.xml
new file mode 100644
index 0000000..970f346
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/double/D_createScalarDouble.xml
@@ -0,0 +1,65 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="createScalarDouble"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>createScalarDouble</refname>
23
24 <refpurpose>
25 Create a scalar double in Scilab memory.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int createScalarDouble(void* _pvCtx, int _iVar, double _dblReal)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_iVar</term>
45 <listitem>
46 <para>
47 Position in the Scilab memory where you want to put the variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_dblReal</term>
53 <listitem>
54 <para>
55 Double value.
56 </para>
57 </listitem>
58 </varlistentry>
59 </variablelist>
60 </refsection>
61 <refsection>
62 <title>Return value</title>
63 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
64 </refsection>
65</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/double/E_createScalarComplexDouble.xml b/scilab/modules/api_scilab/help/en_US/double/E_createScalarComplexDouble.xml
new file mode 100644
index 0000000..4c48ca9
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/double/E_createScalarComplexDouble.xml
@@ -0,0 +1,73 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="createScalarComplexDouble"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>createScalarComplexDouble</refname>
23
24 <refpurpose>
25 Create a scalar complex double in Scilab memory.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int createScalarComplexDouble(void* _pvCtx, int _iVar, double _dblReal, double _dblImg)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_iVar</term>
45 <listitem>
46 <para>
47 Position in the Scilab memory where you want to put the variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_dblReal</term>
53 <listitem>
54 <para>
55 Real part value.
56 </para>
57 </listitem>
58 </varlistentry>
59 <varlistentry>
60 <term>_dblImg</term>
61 <listitem>
62 <para>
63 imaginary part value.
64 </para>
65 </listitem>
66 </varlistentry>
67 </variablelist>
68 </refsection>
69 <refsection>
70 <title>Return value</title>
71 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
72 </refsection>
73</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/double/F_doubleExample.xml b/scilab/modules/api_scilab/help/en_US/double/F_doubleExample.xml
new file mode 100644
index 0000000..1ffed71
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/double/F_doubleExample.xml
@@ -0,0 +1,163 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="doubleExample"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20 <refnamediv>
21 <refname>double example</refname>
22
23 <refpurpose>
24 Double use case.
25 </refpurpose>
26 </refnamediv>
27
28 <refsection>
29 <title>Description</title>
30 <para>This example shows how to get a double variable and return it to Scilab.</para>
31 </refsection>
32 <refsection>
33 <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/doubleExample.c-->
34 <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/doubleExample.tst-->
35 <!--Lib_name: doubleExample-->
36 <!--Func_list: doubleExample-->
37 <title>Gateway Source</title>
38 <programlisting role="code_gateway">
39 <![CDATA[
40int doubleExample(char *fname,unsigned long fname_len)
41{
42 SciErr sciErr;
43 int* piAddr = NULL;
44 int iType = 0;
45 int iRet = 0;
46
47 CheckRhs(1,1);
48 CheckLhs(0,1);
49
50 sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddr);
51 if(sciErr.iErr)
52 {
53 printError(&sciErr, 0);
54 return 0;
55 }
56
57 if(isEmptyMatrix(pvApiCtx, piAddr))
58 {
59 iRet = createEmptyMatrix(pvApiCtx, Rhs + 1);
60 if(iRet)
61 {
62 return iRet;
63 }
64 }
65 else if(isDoubleType(pvApiCtx, piAddr))
66 {
67 if(isScalar(pvApiCtx, piAddr))
68 {
69 double dblReal = 0;
70 double dblImg = 0;
71
72 if(isVarComplex(pvApiCtx, piAddr))
73 {
74 iRet = getScalarComplexDouble(pvApiCtx, piAddr, &dblReal, &dblImg);
75 if(iRet)
76 {
77 return iRet;
78 }
79
80 iRet = createScalarComplexDouble(pvApiCtx, Rhs + 1, dblReal, dblImg);
81 if(iRet)
82 {
83 return iRet;
84 }
85 }
86 else
87 {
88 iRet = getScalarDouble(pvApiCtx, piAddr, &dblReal);
89 if(iRet)
90 {
91 return iRet;
92 }
93
94 iRet = createScalarDouble(pvApiCtx, Rhs + 1, dblReal);
95 if(iRet)
96 {
97 return iRet;
98 }
99 }
100 }
101 else
102 {
103 int iRows = 0;
104 int iCols = 0;
105 double* pdblReal = NULL;
106 double* pdblImg = NULL;
107
108 if(isVarComplex(pvApiCtx, piAddr))
109 {
110 sciErr = getComplexMatrixOfDouble(pvApiCtx, piAddr, &iRows, &iCols, &pdblReal, &pdblImg);
111 if(sciErr.iErr)
112 {
113 printError(&sciErr, 0);
114 return sciErr.iErr;
115 }
116
117 sciErr = createComplexMatrixOfDouble(pvApiCtx, Rhs + 1, iRows, iCols, pdblReal, pdblImg);
118 if(sciErr.iErr)
119 {
120 printError(&sciErr, 0);
121 return sciErr.iErr;
122 }
123 }
124 else
125 {
126 sciErr = getMatrixOfDouble(pvApiCtx, piAddr, &iRows, &iCols, &pdblReal);
127 if(sciErr.iErr)
128 {
129 printError(&sciErr, 0);
130 return sciErr.iErr;
131 }
132
133 sciErr = createMatrixOfDouble(pvApiCtx, Rhs + 1, iRows, iCols, pdblReal);
134 if(sciErr.iErr)
135 {
136 printError(&sciErr, 0);
137 return sciErr.iErr;
138 }
139 }
140 }
141 }
142 return 0;
143}
144 ]]>
145 </programlisting>
146 </refsection>
147 <refsection>
148 <title>Scilab test script</title>
149 <programlisting role="code_scilab">
150 <![CDATA[
151a = 1;
152b = %i;
153c = [1,2,3;4,5,6];
154d = c(1:$) + c($:-1:1) * %i;
155
156doubleExample(a) == a
157doubleExample(b) == b
158doubleExample(c) == c
159doubleExample(d) == d
160 ]]>
161 </programlisting>
162 </refsection>
163</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/integer/A_isIntegerType.xml b/scilab/modules/api_scilab/help/en_US/integer/A_isIntegerType.xml
new file mode 100644
index 0000000..8ea0fb6
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/integer/A_isIntegerType.xml
@@ -0,0 +1,57 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="isIntegerType"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>isIntegerType</refname>
23
24 <refpurpose>
25 Check if it is a double variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int isIntegerType(void* _pvCtx, int* _piAddress)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Position in the Scilab memory where you want to put the variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 </variablelist>
52 </refsection>
53 <refsection>
54 <title>Return value</title>
55 <para>1 if variable is a integer type, otherwise 0</para>
56 </refsection>
57</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/integer/B_getScalarInteger.xml b/scilab/modules/api_scilab/help/en_US/integer/B_getScalarInteger.xml
new file mode 100644
index 0000000..5f65c15
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/integer/B_getScalarInteger.xml
@@ -0,0 +1,110 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="getScalarInteger8"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>getScalarInteger8</refname>
23
24 <refpurpose>
25 Get scalar integer variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int getScalarInteger8(void* _pvCtx, int* _piAddress, char* _pcData)</synopsis>
31 <synopsis xml:id="getScalarInteger16">int getScalarInteger16(void* _pvCtx, int* _piAddress, short* _psData)</synopsis>
32 <synopsis xml:id="getScalarInteger32">int getScalarInteger32(void* _pvCtx, int* _piAddress, int* _piData)</synopsis>
33 <synopsis xml:id="getScalarUnsignedInteger8">int getScalarUnsignedInteger8(void* _pvCtx, int* _piAddress, unsigned char* _pucData)</synopsis>
34 <synopsis xml:id="getScalarUnsignedInteger16">int getScalarUnsignedInteger16(void* _pvCtx, int* _piAddress, unsigned short* _pusData)</synopsis>
35 <synopsis xml:id="getScalarUnsignedInteger32">int getScalarUnsignedInteger32(void* _pvCtx, int* _piAddress, unsigned int* _puiData)</synopsis>
36 </refsynopsisdiv>
37 <refsection>
38 <title>Parameters</title>
39 <variablelist>
40 <varlistentry>
41 <term>_pvCtx</term>
42 <listitem>
43 <para>
44 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
45 </para>
46 </listitem>
47 </varlistentry>
48 <varlistentry>
49 <term>_piAddress</term>
50 <listitem>
51 <para>
52 Address of the Scilab variable.
53 </para>
54 </listitem>
55 </varlistentry>
56 <varlistentry>
57 <term>_cData</term>
58 <listitem>
59 <para>
60 Integer 8 bits value.
61 </para>
62 </listitem>
63 </varlistentry>
64 <varlistentry>
65 <term>_sData</term>
66 <listitem>
67 <para>
68 Integer 16 bits value.
69 </para>
70 </listitem>
71 </varlistentry>
72 <varlistentry>
73 <term>_iData</term>
74 <listitem>
75 <para>
76 Integer 32 bits value.
77 </para>
78 </listitem>
79 </varlistentry>
80 <varlistentry>
81 <term>_ucData</term>
82 <listitem>
83 <para>
84 Unsigned integer 8 bits value.
85 </para>
86 </listitem>
87 </varlistentry>
88 <varlistentry>
89 <term>_usData</term>
90 <listitem>
91 <para>
92 Unsigned integer 16 bits value.
93 </para>
94 </listitem>
95 </varlistentry>
96 <varlistentry>
97 <term>_uiData</term>
98 <listitem>
99 <para>
100 Unsigned integer 32 bits value.
101 </para>
102 </listitem>
103 </varlistentry>
104 </variablelist>
105 </refsection>
106 <refsection>
107 <title>Return value</title>
108 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
109 </refsection>
110</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/integer/C_createScalarInteger.xml b/scilab/modules/api_scilab/help/en_US/integer/C_createScalarInteger.xml
new file mode 100644
index 0000000..2f7ab39
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/integer/C_createScalarInteger.xml
@@ -0,0 +1,110 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="createScalarInteger8"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>createScalarInteger8</refname>
23
24 <refpurpose>
25 Create scalar integer variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int createScalarInteger8(void* _pvCtx, int _iVar, char cData)</synopsis>
31 <synopsis xml:id="createScalarInteger16">int createScalarInteger16(void* _pvCtx, int _iVar, short sData)</synopsis>
32 <synopsis xml:id="createScalarInteger32">int createScalarInteger32(void* _pvCtx, int _iVar, int iData)</synopsis>
33 <synopsis xml:id="createScalarUnsignedInteger8">int createScalarUnsignedInteger8(void* _pvCtx, int _iVar, unsigned char ucData)</synopsis>
34 <synopsis xml:id="createScalarUnsignedInteger16">int createScalarUnsignedInteger16(void* _pvCtx, int _iVar, unsigned short usData)</synopsis>
35 <synopsis xml:id="createScalarUnsignedInteger32">int createScalarUnsignedInteger32(void* _pvCtx, int _iVar, unsigned int uiData)</synopsis>
36 </refsynopsisdiv>
37 <refsection>
38 <title>Parameters</title>
39 <variablelist>
40 <varlistentry>
41 <term>_pvCtx</term>
42 <listitem>
43 <para>
44 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
45 </para>
46 </listitem>
47 </varlistentry>
48 <varlistentry>
49 <term>_iVar</term>
50 <listitem>
51 <para>
52 Position in the Scilab memory where you want to put the variable.
53 </para>
54 </listitem>
55 </varlistentry>
56 <varlistentry>
57 <term>_cData</term>
58 <listitem>
59 <para>
60 Integer 8 bits value.
61 </para>
62 </listitem>
63 </varlistentry>
64 <varlistentry>
65 <term>_sData</term>
66 <listitem>
67 <para>
68 Integer 16 bits value.
69 </para>
70 </listitem>
71 </varlistentry>
72 <varlistentry>
73 <term>_iData</term>
74 <listitem>
75 <para>
76 Integer 32 bits value.
77 </para>
78 </listitem>
79 </varlistentry>
80 <varlistentry>
81 <term>_ucData</term>
82 <listitem>
83 <para>
84 Unsigned integer 8 bits value.
85 </para>
86 </listitem>
87 </varlistentry>
88 <varlistentry>
89 <term>_usData</term>
90 <listitem>
91 <para>
92 Unsigned integer 16 bits value.
93 </para>
94 </listitem>
95 </varlistentry>
96 <varlistentry>
97 <term>_uiData</term>
98 <listitem>
99 <para>
100 Unsigned integer 32 bits value.
101 </para>
102 </listitem>
103 </varlistentry>
104 </variablelist>
105 </refsection>
106 <refsection>
107 <title>Return value</title>
108 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
109 </refsection>
110</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/integer/D_intergerExample.xml b/scilab/modules/api_scilab/help/en_US/integer/D_intergerExample.xml
new file mode 100644
index 0000000..dec506a
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/integer/D_intergerExample.xml
@@ -0,0 +1,344 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="integerExample"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20 <refnamediv>
21 <refname>integer example</refname>
22
23 <refpurpose>
24 Integer use case.
25 </refpurpose>
26 </refnamediv>
27
28 <refsection>
29 <title>Description</title>
30 <para>This example shows how to get a integer variable and return it to Scilab.</para>
31 </refsection>
32 <refsection>
33 <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/integerExample.c-->
34 <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/integerExample.tst-->
35 <!--Lib_name: integerExample-->
36 <!--Func_list: integerExample-->
37 <title>Gateway Source</title>
38 <programlisting role="code_gateway">
39 <![CDATA[
40int integerExample(char *fname,unsigned long fname_len)
41{
42 SciErr sciErr;
43 int* piAddr = NULL;
44 int iType = 0;
45 int iRet = 0;
46 int iPrec = 0;
47
48 CheckRhs(1,1);
49 CheckLhs(0,1);
50
51 sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddr);
52 if(sciErr.iErr)
53 {
54 printError(&sciErr, 0);
55 return 0;
56 }
57
58
59 if(isIntegerType(pvApiCtx, piAddr))
60 {
61 sciErr = getMatrixOfIntegerPrecision(pvApiCtx, piAddr, &iPrec);
62 if(sciErr.iErr)
63 {
64 printError(&sciErr, 0);
65 return sciErr.iErr;
66 }
67
68 switch(iPrec)
69 {
70 case SCI_INT8 :
71 if(isScalar(pvApiCtx, piAddr))
72 {
73 char cData = 0;
74 iRet = getScalarInteger8(pvApiCtx, piAddr, &cData);
75 if(iRet)
76 {
77 return iRet;
78 }
79
80 iRet = createScalarInteger8(pvApiCtx, Rhs + 1, cData);
81 if(iRet)
82 {
83 return iRet;
84 }
85 }
86 else
87 {
88 int iRows = 0;
89 int iCols = 0;
90 char* pcData = NULL;
91
92 sciErr = getMatrixOfInteger8(pvApiCtx, piAddr, &iRows, &iCols, &pcData);
93 if(sciErr.iErr)
94 {
95 printError(&sciErr, 0);
96 return sciErr.iErr;
97 }
98
99 sciErr = createMatrixOfInteger8(pvApiCtx, Rhs + 1, iRows, iCols, pcData);
100 if(sciErr.iErr)
101 {
102 printError(&sciErr, 0);
103 return sciErr.iErr;
104 }
105 }
106 break;
107 case SCI_INT16 :
108 if(isScalar(pvApiCtx, piAddr))
109 {
110 short sData = 0;
111 iRet = getScalarInteger16(pvApiCtx, piAddr, &sData);
112 if(iRet)
113 {
114 return iRet;
115 }
116
117 iRet = createScalarInteger16(pvApiCtx, Rhs + 1, sData);
118 if(iRet)
119 {
120 return iRet;
121 }
122 }
123 else
124 {
125 int iRows = 0;
126 int iCols = 0;
127 short* psData = NULL;
128
129 sciErr = getMatrixOfInteger16(pvApiCtx, piAddr, &iRows, &iCols, &psData);
130 if(sciErr.iErr)
131 {
132 printError(&sciErr, 0);
133 return sciErr.iErr;
134 }
135
136 sciErr = createMatrixOfInteger16(pvApiCtx, Rhs + 1, iRows, iCols, psData);
137 if(sciErr.iErr)
138 {
139 printError(&sciErr, 0);
140 return sciErr.iErr;
141 }
142 }
143 break;
144 case SCI_INT32 :
145 if(isScalar(pvApiCtx, piAddr))
146 {
147 int iData = 0;
148 iRet = getScalarInteger32(pvApiCtx, piAddr, &iData);
149 if(iRet)
150 {
151 return iRet;
152 }
153
154 iRet = createScalarInteger32(pvApiCtx, Rhs + 1, iData);
155 if(iRet)
156 {
157 return iRet;
158 }
159 }
160 else
161 {
162 int iRows = 0;
163 int iCols = 0;
164 int* piData = NULL;
165
166 sciErr = getMatrixOfInteger32(pvApiCtx, piAddr, &iRows, &iCols, &piData);
167 if(sciErr.iErr)
168 {
169 printError(&sciErr, 0);
170 return sciErr.iErr;
171 }
172
173 sciErr = createMatrixOfInteger32(pvApiCtx, Rhs + 1, iRows, iCols, piData);
174 if(sciErr.iErr)
175 {
176 printError(&sciErr, 0);
177 return sciErr.iErr;
178 }
179 }
180 break;
181#ifdef __SCILAB_INT64__
182 case SCI_INT64 :
183#endif
184 case SCI_UINT8 :
185 if(isScalar(pvApiCtx, piAddr))
186 {
187 unsigned char ucData = 0;
188 iRet = getScalarUnsignedInteger8(pvApiCtx, piAddr, &ucData);
189 if(iRet)
190 {
191 return iRet;
192 }
193
194 iRet = createScalarUnsignedInteger8(pvApiCtx, Rhs + 1, ucData);
195 if(iRet)
196 {
197 return iRet;
198 }
199 }
200 else
201 {
202 int iRows = 0;
203 int iCols = 0;
204 unsigned char* pucData = NULL;
205
206 sciErr = getMatrixOfUnsignedInteger8(pvApiCtx, piAddr, &iRows, &iCols, &pucData);
207 if(sciErr.iErr)
208 {
209 printError(&sciErr, 0);
210 return sciErr.iErr;
211 }
212
213 sciErr = createMatrixOfUnsignedInteger8(pvApiCtx, Rhs + 1, iRows, iCols, pucData);
214 if(sciErr.iErr)
215 {
216 printError(&sciErr, 0);
217 return sciErr.iErr;
218 }
219 }
220 break;
221
222 case SCI_UINT16 :
223 if(isScalar(pvApiCtx, piAddr))
224 {
225 unsigned short usData = 0;
226 iRet = getScalarUnsignedInteger16(pvApiCtx, piAddr, &usData);
227 if(iRet)
228 {
229 return iRet;
230 }
231
232 iRet = createScalarUnsignedInteger16(pvApiCtx, Rhs + 1, usData);
233 if(iRet)
234 {
235 return iRet;
236 }
237 }
238 else
239 {
240 int iRows = 0;
241 int iCols = 0;
242 unsigned short* pusData = NULL;
243
244 sciErr = getMatrixOfUnsignedInteger16(pvApiCtx, piAddr, &iRows, &iCols, &pusData);
245 if(sciErr.iErr)
246 {
247 printError(&sciErr, 0);
248 return sciErr.iErr;
249 }
250
251 sciErr = createMatrixOfUnsignedInteger16(pvApiCtx, Rhs + 1, iRows, iCols, pusData);
252 if(sciErr.iErr)
253 {
254 printError(&sciErr, 0);
255 return sciErr.iErr;
256 }
257 }
258 break;
259 case SCI_UINT32 :
260 if(isScalar(pvApiCtx, piAddr))
261 {
262 unsigned int uiData = 0;
263 iRet = getScalarUnsignedInteger32(pvApiCtx, piAddr, &uiData);
264 if(iRet)
265 {
266 return iRet;
267 }
268
269 iRet = createScalarUnsignedInteger32(pvApiCtx, Rhs + 1, uiData);
270 if(iRet)
271 {
272 return iRet;
273 }
274 }
275 else
276 {
277 int iRows = 0;
278 int iCols = 0;
279 unsigned int* puiData = NULL;
280
281 sciErr = getMatrixOfUnsignedInteger32(pvApiCtx, piAddr, &iRows, &iCols, &puiData);
282 if(sciErr.iErr)
283 {
284 printError(&sciErr, 0);
285 return sciErr.iErr;
286 }
287
288 sciErr = createMatrixOfUnsignedInteger32(pvApiCtx, Rhs + 1, iRows, iCols, puiData);
289 if(sciErr.iErr)
290 {
291 printError(&sciErr, 0);
292 return sciErr.iErr;
293 }
294 }
295 break;
296
297#ifdef __SCILAB_INT64__
298 case SCI_UINT64 :
299#endif
300 default :
301 break;
302 }
303 }
304 return 0;}
305 ]]>
306 </programlisting>
307 </refsection>
308 <refsection>
309 <title>Scilab test script</title>
310 <programlisting role="code_scilab">
311 <![CDATA[
312i8_1 = int8(1);
313i8_2 = int8([1,2,3;4,5,6]);
314ui8_1 = uint8(1);
315ui8_2 = uint8([1,2,3;4,5,6]);
316
317i16_1 = int16(1);
318i16_2 = int16([1,2,3;4,5,6]);
319ui16_1 = uint16(1);
320ui16_2 = uint16([1,2,3;4,5,6]);
321
322i32_1 = int32(1);
323i32_2 = int32([1,2,3;4,5,6]);
324ui32_1 = uint32(1);
325ui32_2 = uint32([1,2,3;4,5,6]);
326
327if integerExample(i8_1) <> i8_1 then pause;end
328if integerExample(i8_2) <> i8_2 then pause;end
329if integerExample(ui8_1) <> ui8_1 then pause;end
330if integerExample(ui8_2) <> ui8_2 then pause;end
331
332if integerExample(i16_1) <> i16_1 then pause;end
333if integerExample(i16_2) <> i16_2 then pause;end
334if integerExample(ui16_1) <> ui16_1 then pause;end
335if integerExample(ui16_2) <> ui16_2 then pause;end
336
337if integerExample(i8_1) <> i16_1 then pause;end
338if integerExample(i8_2) <> i16_2 then pause;end
339if integerExample(ui8_1) <> ui16_1 then pause;end
340if integerExample(ui8_2) <> ui16_2 then pause;end
341 ]]>
342 </programlisting>
343 </refsection>
344</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/list_management/CHAPTER b/scilab/modules/api_scilab/help/en_US/list_management/CHAPTER
new file mode 100644
index 0000000..4e72a7a
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/list_management/CHAPTER
@@ -0,0 +1 @@
title = List manipulation
diff --git a/scilab/modules/api_scilab/help/en_US/low_level_functions/CHAPTER b/scilab/modules/api_scilab/help/en_US/low_level_functions/CHAPTER
new file mode 100644
index 0000000..aaf2bd2
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/CHAPTER
@@ -0,0 +1 @@
title = Low level functions
diff --git a/scilab/modules/api_scilab/help/en_US/boolean_reading_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/boolean_reading_api.xml
index 8e1f0a4..8e1f0a4 100644
--- a/scilab/modules/api_scilab/help/en_US/boolean_reading_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/boolean_reading_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/boolean_writing_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/boolean_writing_api.xml
index b47d226..b47d226 100644
--- a/scilab/modules/api_scilab/help/en_US/boolean_writing_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/boolean_writing_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/bsparse_reading_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/bsparse_reading_api.xml
index 7b0aafa..7b0aafa 100644
--- a/scilab/modules/api_scilab/help/en_US/bsparse_reading_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/bsparse_reading_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/bsparse_writing_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/bsparse_writing_api.xml
index 0e800f2..0e800f2 100644
--- a/scilab/modules/api_scilab/help/en_US/bsparse_writing_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/bsparse_writing_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/common_getvaraddr_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_getvaraddr_api.xml
index 1da4718..1da4718 100644
--- a/scilab/modules/api_scilab/help/en_US/common_getvaraddr_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_getvaraddr_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/common_getvardimension_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_getvardimension_api.xml
index d2bf242..d2bf242 100644
--- a/scilab/modules/api_scilab/help/en_US/common_getvardimension_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_getvardimension_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/common_getvartype_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_getvartype_api.xml
index fcbb602..fcbb602 100644
--- a/scilab/modules/api_scilab/help/en_US/common_getvartype_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_getvartype_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/common_iscomplex_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_iscomplex_api.xml
index 6f4f13c..6f4f13c 100644
--- a/scilab/modules/api_scilab/help/en_US/common_iscomplex_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_iscomplex_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/common_isvarmatrixtype_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_isvarmatrixtype_api.xml
index fcaa407..fcaa407 100644
--- a/scilab/modules/api_scilab/help/en_US/common_isvarmatrixtype_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/common_isvarmatrixtype_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/double_reading_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/double_reading_api.xml
index 9372cb8..9372cb8 100644
--- a/scilab/modules/api_scilab/help/en_US/double_reading_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/double_reading_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/double_writing_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/double_writing_api.xml
index 11c197f..11c197f 100644
--- a/scilab/modules/api_scilab/help/en_US/double_writing_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/double_writing_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/int_getmatrixofintegerprecision_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/int_getmatrixofintegerprecision_api.xml
index 423c306..423c306 100644
--- a/scilab/modules/api_scilab/help/en_US/int_getmatrixofintegerprecision_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/int_getmatrixofintegerprecision_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/integer_reading_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/integer_reading_api.xml
index d00c66d..d00c66d 100644
--- a/scilab/modules/api_scilab/help/en_US/integer_reading_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/integer_reading_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/integer_writing_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/integer_writing_api.xml
index 788757b..788757b 100644
--- a/scilab/modules/api_scilab/help/en_US/integer_writing_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/integer_writing_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/pointer_reading_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/pointer_reading_api.xml
index 2e0d060..2e0d060 100644
--- a/scilab/modules/api_scilab/help/en_US/pointer_reading_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/pointer_reading_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/pointer_writing_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/pointer_writing_api.xml
index acdf2c39..acdf2c39 100644
--- a/scilab/modules/api_scilab/help/en_US/pointer_writing_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/pointer_writing_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/poly_getpolyvariablename_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/poly_getpolyvariablename_api.xml
index c88947c..c88947c 100644
--- a/scilab/modules/api_scilab/help/en_US/poly_getpolyvariablename_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/poly_getpolyvariablename_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/poly_reading_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/poly_reading_api.xml
index eaa4e4c..eaa4e4c 100644
--- a/scilab/modules/api_scilab/help/en_US/poly_reading_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/poly_reading_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/poly_writing_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/poly_writing_api.xml
index 58bb811..58bb811 100644
--- a/scilab/modules/api_scilab/help/en_US/poly_writing_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/poly_writing_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/sparse_reading_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/sparse_reading_api.xml
index 701d6e7..701d6e7 100644
--- a/scilab/modules/api_scilab/help/en_US/sparse_reading_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/sparse_reading_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/sparse_writing_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/sparse_writing_api.xml
index 5159fda..5159fda 100644
--- a/scilab/modules/api_scilab/help/en_US/sparse_writing_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/sparse_writing_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/string_reading_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/string_reading_api.xml
index 0fbd376..0fbd376 100644
--- a/scilab/modules/api_scilab/help/en_US/string_reading_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/string_reading_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/string_writing_api.xml b/scilab/modules/api_scilab/help/en_US/low_level_functions/string_writing_api.xml
index c9df082..c9df082 100644
--- a/scilab/modules/api_scilab/help/en_US/string_writing_api.xml
+++ b/scilab/modules/api_scilab/help/en_US/low_level_functions/string_writing_api.xml
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/A_isPolyType.xml b/scilab/modules/api_scilab/help/en_US/polynom/A_isPolyType.xml
new file mode 100644
index 0000000..97254ec
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/A_isPolyType.xml
@@ -0,0 +1,57 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="isPolyType"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>isPolyType</refname>
23
24 <refpurpose>
25 Check if it is a polynom variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int isPolyType(void* _pvCtx, int* _piAddress)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Position in the Scilab memory where you want to put the variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 </variablelist>
52 </refsection>
53 <refsection>
54 <title>Return value</title>
55 <para>1 if variable is a polynom type, otherwise 0</para>
56 </refsection>
57</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/B_getAllocatedSinglePoly.xml b/scilab/modules/api_scilab/help/en_US/polynom/B_getAllocatedSinglePoly.xml
new file mode 100644
index 0000000..cf54752
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/B_getAllocatedSinglePoly.xml
@@ -0,0 +1,73 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="getAllocatedSinglePoly"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>getAllocatedSinglePoly</refname>
23
24 <refpurpose>
25 Get single polynom variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int getAllocatedSinglePoly(void* _pvCtx, int* _piAddress, int* _piNbCoef, double** _pdblReal)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Address of the Scilab variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_piNbCoef</term>
53 <listitem>
54 <para>
55 Returns number of coefficient.
56 </para>
57 </listitem>
58 </varlistentry>
59 <varlistentry>
60 <term>_pdblReal</term>
61 <listitem>
62 <para>
63 Return array of double.
64 </para>
65 </listitem>
66 </varlistentry>
67 </variablelist>
68 </refsection>
69 <refsection>
70 <title>Return value</title>
71 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
72 </refsection>
73</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/C_getAllocatedSingleComplexPoly.xml b/scilab/modules/api_scilab/help/en_US/polynom/C_getAllocatedSingleComplexPoly.xml
new file mode 100644
index 0000000..e43ff47
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/C_getAllocatedSingleComplexPoly.xml
@@ -0,0 +1,81 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="getAllocatedSingleComplexPoly"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>getAllocatedSinglePoly</refname>
23
24 <refpurpose>
25 Get single complex polynom variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int getAllocatedSingleComplexPoly(void* _pvCtx, int* _piAddress, int* _piNbCoef, double** _pdblReal, double** _pdblImg)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Address of the Scilab variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_piNbCoef</term>
53 <listitem>
54 <para>
55 Returns number of coefficient.
56 </para>
57 </listitem>
58 </varlistentry>
59 <varlistentry>
60 <term>_pdblReal</term>
61 <listitem>
62 <para>
63 Return array of real part.
64 </para>
65 </listitem>
66 </varlistentry>
67 <varlistentry>
68 <term>_pdblImg</term>
69 <listitem>
70 <para>
71 Return array of imaginary part.
72 </para>
73 </listitem>
74 </varlistentry>
75 </variablelist>
76 </refsection>
77 <refsection>
78 <title>Return value</title>
79 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
80 </refsection>
81</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/D_getAllocatedMatrixOfPoly.xml b/scilab/modules/api_scilab/help/en_US/polynom/D_getAllocatedMatrixOfPoly.xml
new file mode 100644
index 0000000..5f58333
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/D_getAllocatedMatrixOfPoly.xml
@@ -0,0 +1,89 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="getAllocatedMatrixOfPoly"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>getAllocatedMatrixOfPoly</refname>
23
24 <refpurpose>
25 Get matrix of polynom variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int getAllocatedMatrixOfPoly(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Address of the Scilab variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_piRows</term>
53 <listitem>
54 <para>
55 Return number of rows.
56 </para>
57 </listitem>
58 </varlistentry>
59 <varlistentry>
60 <term>_piCols</term>
61 <listitem>
62 <para>
63 Return number of columns.
64 </para>
65 </listitem>
66 </varlistentry>
67 <varlistentry>
68 <term>_piNbCoef</term>
69 <listitem>
70 <para>
71 Return number of coefficient for each polynomial. (must be allocated)
72 </para>
73 </listitem>
74 </varlistentry>
75 <varlistentry>
76 <term>_pdblReal</term>
77 <listitem>
78 <para>
79 Return array of coefficients.
80 </para>
81 </listitem>
82 </varlistentry>
83 </variablelist>
84 </refsection>
85 <refsection>
86 <title>Return value</title>
87 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
88 </refsection>
89</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/E_getAllocatedMatrixOfComplexPoly.xml b/scilab/modules/api_scilab/help/en_US/polynom/E_getAllocatedMatrixOfComplexPoly.xml
new file mode 100644
index 0000000..5430b5b
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/E_getAllocatedMatrixOfComplexPoly.xml
@@ -0,0 +1,97 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="getAllocatedMatrixOfComplexPoly"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>getAllocatedMatrixOfComplexPoly</refname>
23
24 <refpurpose>
25 Get matrix of complex polynom variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int getAllocatedMatrixOfComplexPoly(void* _pvCtx, int* _piAddress, int* _piRows, int* _piCols, int** _piNbCoef, double*** _pdblReal, double*** _pdblImg)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_piAddress</term>
45 <listitem>
46 <para>
47 Address of the Scilab variable.
48 </para>
49 </listitem>
50 </varlistentry>
51 <varlistentry>
52 <term>_piRows</term>
53 <listitem>
54 <para>
55 Return number of rows.
56 </para>
57 </listitem>
58 </varlistentry>
59 <varlistentry>
60 <term>_piCols</term>
61 <listitem>
62 <para>
63 Return number of columns.
64 </para>
65 </listitem>
66 </varlistentry>
67 <varlistentry>
68 <term>_piNbCoef</term>
69 <listitem>
70 <para>
71 Return number of coefficient for each polynomial. (must be allocated)
72 </para>
73 </listitem>
74 </varlistentry>
75 <varlistentry>
76 <term>_pdblReal</term>
77 <listitem>
78 <para>
79 Return array of real part coefficients.
80 </para>
81 </listitem>
82 </varlistentry>
83 <varlistentry>
84 <term>_pdblImg</term>
85 <listitem>
86 <para>
87 Return array of real part coefficients.
88 </para>
89 </listitem>
90 </varlistentry>
91 </variablelist>
92 </refsection>
93 <refsection>
94 <title>Return value</title>
95 <para>if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.</para>
96 </refsection>
97</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/F_freeAllocatedSinglePoly.xml b/scilab/modules/api_scilab/help/en_US/polynom/F_freeAllocatedSinglePoly.xml
new file mode 100644
index 0000000..811602d
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/F_freeAllocatedSinglePoly.xml
@@ -0,0 +1,45 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="freeAllocatedSinglePoly"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>freeAllocatedSinglePoly</refname>
23
24 <refpurpose>
25 Free memory allocated by getAllocatedSinglePoly function.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>void freeAllocatedSinglePoly(double* _pdblReal)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pdblReal</term>
37 <listitem>
38 <para>
39 Pointer "_pdblReal" allocated by getAllocatedSinglePoly.
40 </para>
41 </listitem>
42 </varlistentry>
43 </variablelist>
44 </refsection>
45</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/G_freeAllocatedSingleComplexPoly.xml b/scilab/modules/api_scilab/help/en_US/polynom/G_freeAllocatedSingleComplexPoly.xml
new file mode 100644
index 0000000..53e3c4a
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/G_freeAllocatedSingleComplexPoly.xml
@@ -0,0 +1,53 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="freeAllocatedSingleComplexPoly"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>freeAllocatedSingleComplexPoly</refname>
23
24 <refpurpose>
25 Free memory allocated by getAllocatedSingleComplexPoly function.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>void freeAllocatedSingleComplexPoly(double* _pdblReal, double* _pdblImg)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pdblReal</term>
37 <listitem>
38 <para>
39 Pointer "_pdblReal" allocated by getAllocatedSingleComplexPoly.
40 </para>
41 </listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>_pdblImg</term>
45 <listitem>
46 <para>
47 Pointer "_pdblImg" allocated by getAllocatedSingleComplexPoly.
48 </para>
49 </listitem>
50 </varlistentry>
51 </variablelist>
52 </refsection>
53</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/H_freeAllocatedMatrixOfPoly.xml b/scilab/modules/api_scilab/help/en_US/polynom/H_freeAllocatedMatrixOfPoly.xml
new file mode 100644
index 0000000..811602d
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/H_freeAllocatedMatrixOfPoly.xml
@@ -0,0 +1,45 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="freeAllocatedSinglePoly"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>freeAllocatedSinglePoly</refname>
23
24 <refpurpose>
25 Free memory allocated by getAllocatedSinglePoly function.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>void freeAllocatedSinglePoly(double* _pdblReal)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pdblReal</term>
37 <listitem>
38 <para>
39 Pointer "_pdblReal" allocated by getAllocatedSinglePoly.
40 </para>
41 </listitem>
42 </varlistentry>
43 </variablelist>
44 </refsection>
45</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/I_freeAllocatedMatrixOfComplexPoly.xml b/scilab/modules/api_scilab/help/en_US/polynom/I_freeAllocatedMatrixOfComplexPoly.xml
new file mode 100644
index 0000000..811602d
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/I_freeAllocatedMatrixOfComplexPoly.xml
@@ -0,0 +1,45 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="freeAllocatedSinglePoly"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>freeAllocatedSinglePoly</refname>
23
24 <refpurpose>
25 Free memory allocated by getAllocatedSinglePoly function.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>void freeAllocatedSinglePoly(double* _pdblReal)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pdblReal</term>
37 <listitem>
38 <para>
39 Pointer "_pdblReal" allocated by getAllocatedSinglePoly.
40 </para>
41 </listitem>
42 </varlistentry>
43 </variablelist>
44 </refsection>
45</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/polynom/J_polyExample.xml b/scilab/modules/api_scilab/help/en_US/polynom/J_polyExample.xml
new file mode 100644
index 0000000..e6040b6
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/polynom/J_polyExample.xml
@@ -0,0 +1,183 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="polyExample"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20 <refnamediv>
21 <refname>polynom example</refname>
22
23 <refpurpose>
24 Polynom use case.
25 </refpurpose>
26 </refnamediv>
27
28 <refsection>
29 <title>Description</title>
30 <para>This example shows how to get a polynom variable and return it to Scilab.</para>
31 </refsection>
32 <refsection>
33 <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/polyExample.c-->
34 <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/polyExample.tst-->
35 <!--Lib_name: polyExample-->
36 <!--Func_list: polyExample-->
37 <title>Gateway Source</title>
38 <programlisting role="code_gateway">
39 <![CDATA[
40int polyExample(char *fname,unsigned long fname_len)
41{
42 SciErr sciErr;
43 int* piAddr = NULL;
44 int iType = 0;
45 int iRet = 0;
46
47 CheckRhs(1,1);
48 CheckLhs(0,1);
49
50 sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddr);
51 if(sciErr.iErr)
52 {
53 printError(&sciErr, 0);
54 return 0;
55 }
56
57 if(isPolyType(pvApiCtx, piAddr))
58 {
59 char pstVarName[64];
60 int iLen = 0;
61
62 sciErr = getPolyVariableName(pvApiCtx, piAddr, pstVarName, &iLen);
63 if(sciErr.iErr)
64 {
65 printError(&sciErr, 0);
66 return sciErr.iErr;
67 }
68
69 if(isScalar(pvApiCtx, piAddr))
70 {
71 int iNbCoef = 0;
72 double* pdblReal = NULL;
73 double* pdblImg = NULL;
74
75 if(isVarComplex(pvApiCtx, piAddr))
76 {
77 iRet = getAllocatedSingleComplexPoly(pvApiCtx, piAddr, &iNbCoef, &pdblReal, &pdblImg);
78 if(iRet)
79 {
80 freeAllocatedSingleComplexPoly(pdblReal, pdblImg);
81 return iRet;
82 }
83
84 sciErr = createComplexMatrixOfPoly(pvApiCtx, Rhs + 1, pstVarName, 1, 1, &iNbCoef, &pdblReal, &pdblImg);
85 if(sciErr.iErr)
86 {
87 freeAllocatedSingleComplexPoly(pdblReal, pdblImg);
88 printError(&sciErr, 0);
89 return sciErr.iErr;
90 }
91 freeAllocatedSingleComplexPoly(pdblReal, pdblImg);
92 }
93 else
94 {
95 iRet = getAllocatedSinglePoly(pvApiCtx, piAddr, &iNbCoef, &pdblReal);
96 if(iRet)
97 {
98 freeAllocatedSinglePoly(pdblReal);
99 return iRet;
100 }
101
102 sciErr = createMatrixOfPoly(pvApiCtx, Rhs + 1, pstVarName, 1, 1, &iNbCoef, &pdblReal);
103 if(sciErr.iErr)
104 {
105 freeAllocatedSinglePoly(pdblReal);
106 printError(&sciErr, 0);
107 return sciErr.iErr;
108 }
109 freeAllocatedSinglePoly(pdblReal);
110 }
111 }
112 else
113 {
114 int iRows = 0;
115 int iCols = 0;
116 int* piNbCoef = NULL;
117 double** pdblReal = NULL;
118 double** pdblImg = NULL;
119
120 if(isVarComplex(pvApiCtx, piAddr))
121 {
122 iRet = getAllocatedMatrixOfComplexPoly(pvApiCtx, piAddr, &iRows, &iCols, &piNbCoef, &pdblReal, &pdblImg);
123 if(iRet)
124 {
125 freeAllocatedMatrixOfComplexPoly(iRows, iCols, piNbCoef, pdblReal, pdblImg);
126 return iRet;
127 }
128
129 sciErr = createComplexMatrixOfPoly(pvApiCtx, Rhs + 1, pstVarName, iRows, iCols, piNbCoef, pdblReal, pdblImg);
130 if(sciErr.iErr)
131 {
132 freeAllocatedMatrixOfComplexPoly(iRows, iCols, piNbCoef, pdblReal, pdblImg);
133 printError(&sciErr, 0);
134 return sciErr.iErr;
135 }
136 freeAllocatedMatrixOfComplexPoly(iRows, iCols, piNbCoef, pdblReal, pdblImg);
137 }
138 else
139 {
140 iRet = getAllocatedMatrixOfPoly(pvApiCtx, piAddr, &iRows, &iCols, &piNbCoef, &pdblReal);
141 if(iRet)
142 {
143 freeAllocatedMatrixOfPoly(iRows, iCols, piNbCoef, pdblReal);
144 return iRet;
145 }
146
147 sciErr = createMatrixOfPoly(pvApiCtx, Rhs + 1, pstVarName, iRows, iCols, piNbCoef, pdblReal);
148 if(sciErr.iErr)
149 {
150 freeAllocatedMatrixOfPoly(iRows, iCols, piNbCoef, pdblReal);
151 printError(&sciErr, 0);
152 return sciErr.iErr;
153 }
154 freeAllocatedMatrixOfPoly(iRows, iCols, piNbCoef, pdblReal);
155 }
156 }
157 LhsVar(1) = Rhs + 1;
158 }
159 else
160 {
161 LhsVar(1) = 0;
162 }
163 return 0;
164}
165 ]]>
166 </programlisting>
167 </refsection>
168 <refsection>
169 <title>Scilab test script</title>
170 <programlisting role="code_scilab">
171 <![CDATA[
172a = %s;
173b = (2 + 3*%i) * %s;
174c = [a, 2*a, 3*a;4*a, 5*a, 6*a];
175d = [c + c * %i];
176if polyExample(a) <> a then pause, end
177if polyExample(b) <> b then pause, end
178if polyExample(c) <> c then pause, end
179if polyExample(d) <> d then pause, end
180 ]]>
181 </programlisting>
182 </refsection>
183</refentry>
diff --git a/scilab/modules/api_scilab/help/en_US/sparse/A_isSparseType.xml b/scilab/modules/api_scilab/help/en_US/sparse/A_isSparseType.xml
new file mode 100644
index 0000000..e15e869
--- /dev/null
+++ b/scilab/modules/api_scilab/help/en_US/sparse/A_isSparseType.xml
@@ -0,0 +1,57 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 -->
13<refentry version="5.0-subset Scilab" xml:id="isSparseType"
14 xml:lang="en" xmlns="http://docbook.org/ns/docbook"
15 xmlns:xlink="http://www.w3.org/1999/xlink"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook">
20
21 <refnamediv>
22 <refname>isSparseType</refname>
23
24 <refpurpose>
25 Check if it is a sparse variable.
26 </refpurpose>
27 </refnamediv>
28 <refsynopsisdiv>
29 <title>Calling Sequence</title>
30 <synopsis>int isSparseType(void* _pvCtx, int* _piAddress)</synopsis>
31 </refsynopsisdiv>
32 <refsection>
33 <title>Parameters</title>
34 <variablelist>
35 <varlistentry>
36 <term>_pvCtx</term>
37 <listitem>
38 <para>
39 Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
40 </para>
41 </listitem>