From 19f631f8ad029b045dfc70e8c887013bd78f3e5d Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Mon, 11 Sep 2017 17:26:06 +0530 Subject: Bessel fns modified --- includes/sci2clib.h | 16 +++ jar/scilab_en_US_help.jar | Bin 20554 -> 11210 bytes macros/ASTManagement/lib | Bin 0 -> 2008 bytes macros/CCodeGeneration/lib | Bin 0 -> 1056 bytes macros/ErrorMessages/lib | Bin 0 -> 520 bytes macros/FunctionAnnotation/lib | Bin 0 -> 2412 bytes macros/FunctionList/lib | Bin 0 -> 588 bytes macros/GeneralFunctions/lib | Bin 0 -> 1132 bytes macros/Hardware/AVR/lib | Bin 0 -> 972 bytes macros/Hardware/RasberryPi/Digital/lib | Bin 0 -> 600 bytes macros/Hardware/RasberryPi/I2C/lib | Bin 0 -> 704 bytes macros/Hardware/RasberryPi/Interrupt/lib | Bin 0 -> 536 bytes macros/Hardware/RasberryPi/Misc/lib | Bin 0 -> 564 bytes macros/Hardware/RasberryPi/SPI/lib | Bin 0 -> 584 bytes macros/Hardware/RasberryPi/Serial/lib | Bin 0 -> 692 bytes macros/Hardware/RasberryPi/Setup/lib | Bin 0 -> 616 bytes macros/Hardware/RasberryPi/Shift/lib | Bin 0 -> 568 bytes macros/Hardware/RasberryPi/Soft/lib | Bin 0 -> 636 bytes macros/Hardware/RasberryPi/Timing/lib | Bin 0 -> 596 bytes macros/Hardware/RasberryPi/gertBoard/lib | Bin 0 -> 656 bytes macros/Hardware/RasberryPi/lcd/lib | Bin 0 -> 776 bytes macros/Hardware/RasberryPi/lcd128x64/lib | Bin 0 -> 800 bytes macros/Hardware/RasberryPi/lib | Bin 0 -> 592 bytes macros/Hardware/RasberryPi/mcp/lib | Bin 0 -> 608 bytes macros/Hardware/RasberryPi/pcf/lib | Bin 0 -> 536 bytes macros/Hardware/RasberryPi/piGlow/lib | Bin 0 -> 596 bytes macros/Hardware/RasberryPi/pinMap/lib | Bin 0 -> 548 bytes macros/Hardware/RasberryPi/pwm/lib | Bin 0 -> 608 bytes macros/ImageProcessing/core/lib | Bin 0 -> 524 bytes macros/ImageProcessing/highgui/lib | Bin 0 -> 584 bytes macros/ImageProcessing/imgproc/lib | Bin 0 -> 752 bytes macros/Scilab-Arduino/lib | Bin 0 -> 716 bytes macros/SymbolTable/lib | Bin 0 -> 752 bytes .../ToolInitialization/INIT_FillSCI2LibCDirs.sci | 111 +++++++++++++++++++++ macros/ToolInitialization/lib | Bin 0 -> 804 bytes macros/findDeps/getAllHeaders.sci | 4 + macros/findDeps/getAllInterfaces.sci | 4 + macros/findDeps/getAllSources.sci | 8 ++ macros/findDeps/lib | Bin 0 -> 620 bytes macros/lib | Bin 0 -> 536 bytes 40 files changed, 143 insertions(+) create mode 100644 macros/ASTManagement/lib create mode 100644 macros/CCodeGeneration/lib create mode 100644 macros/ErrorMessages/lib create mode 100644 macros/FunctionAnnotation/lib create mode 100644 macros/FunctionList/lib create mode 100644 macros/GeneralFunctions/lib create mode 100644 macros/Hardware/AVR/lib create mode 100644 macros/Hardware/RasberryPi/Digital/lib create mode 100644 macros/Hardware/RasberryPi/I2C/lib create mode 100644 macros/Hardware/RasberryPi/Interrupt/lib create mode 100644 macros/Hardware/RasberryPi/Misc/lib create mode 100644 macros/Hardware/RasberryPi/SPI/lib create mode 100644 macros/Hardware/RasberryPi/Serial/lib create mode 100644 macros/Hardware/RasberryPi/Setup/lib create mode 100644 macros/Hardware/RasberryPi/Shift/lib create mode 100644 macros/Hardware/RasberryPi/Soft/lib create mode 100644 macros/Hardware/RasberryPi/Timing/lib create mode 100644 macros/Hardware/RasberryPi/gertBoard/lib create mode 100644 macros/Hardware/RasberryPi/lcd/lib create mode 100644 macros/Hardware/RasberryPi/lcd128x64/lib create mode 100644 macros/Hardware/RasberryPi/lib create mode 100644 macros/Hardware/RasberryPi/mcp/lib create mode 100644 macros/Hardware/RasberryPi/pcf/lib create mode 100644 macros/Hardware/RasberryPi/piGlow/lib create mode 100644 macros/Hardware/RasberryPi/pinMap/lib create mode 100644 macros/Hardware/RasberryPi/pwm/lib create mode 100644 macros/ImageProcessing/core/lib create mode 100644 macros/ImageProcessing/highgui/lib create mode 100644 macros/ImageProcessing/imgproc/lib create mode 100644 macros/Scilab-Arduino/lib create mode 100644 macros/SymbolTable/lib create mode 100644 macros/ToolInitialization/lib create mode 100644 macros/findDeps/lib create mode 100644 macros/lib diff --git a/includes/sci2clib.h b/includes/sci2clib.h index 0597e63..a4a89c0 100644 --- a/includes/sci2clib.h +++ b/includes/sci2clib.h @@ -114,6 +114,22 @@ extern "C" { #include "beta.h" #include "int_beta.h" +/* interfacing besseli */ +#include "besseli.h" +#include "int_besseli.h" + +/* interfacing besselj */ +#include "besselj.h" +#include "int_besselj.h" + +/* interfacing besselk */ +#include "besselk.h" +#include "int_besselk.h" + +/* interfacing bessely */ +#include "bessely.h" +#include "int_bessely.h" + /* ELEMENTARY FUNCTIONS */ #include "nextpow2.h" diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index 7abb680..82d132f 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib new file mode 100644 index 0000000..dee4362 Binary files /dev/null and b/macros/ASTManagement/lib differ diff --git a/macros/CCodeGeneration/lib b/macros/CCodeGeneration/lib new file mode 100644 index 0000000..3d4fed1 Binary files /dev/null and b/macros/CCodeGeneration/lib differ diff --git a/macros/ErrorMessages/lib b/macros/ErrorMessages/lib new file mode 100644 index 0000000..ba3b9a5 Binary files /dev/null and b/macros/ErrorMessages/lib differ diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib new file mode 100644 index 0000000..239105c Binary files /dev/null and b/macros/FunctionAnnotation/lib differ diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib new file mode 100644 index 0000000..1c722dd Binary files /dev/null and b/macros/FunctionList/lib differ diff --git a/macros/GeneralFunctions/lib b/macros/GeneralFunctions/lib new file mode 100644 index 0000000..7586a91 Binary files /dev/null and b/macros/GeneralFunctions/lib differ diff --git a/macros/Hardware/AVR/lib b/macros/Hardware/AVR/lib new file mode 100644 index 0000000..ed4c52b Binary files /dev/null and b/macros/Hardware/AVR/lib differ diff --git a/macros/Hardware/RasberryPi/Digital/lib b/macros/Hardware/RasberryPi/Digital/lib new file mode 100644 index 0000000..ba42ba7 Binary files /dev/null and b/macros/Hardware/RasberryPi/Digital/lib differ diff --git a/macros/Hardware/RasberryPi/I2C/lib b/macros/Hardware/RasberryPi/I2C/lib new file mode 100644 index 0000000..561476c Binary files /dev/null and b/macros/Hardware/RasberryPi/I2C/lib differ diff --git a/macros/Hardware/RasberryPi/Interrupt/lib b/macros/Hardware/RasberryPi/Interrupt/lib new file mode 100644 index 0000000..97a61ac Binary files /dev/null and b/macros/Hardware/RasberryPi/Interrupt/lib differ diff --git a/macros/Hardware/RasberryPi/Misc/lib b/macros/Hardware/RasberryPi/Misc/lib new file mode 100644 index 0000000..c718615 Binary files /dev/null and b/macros/Hardware/RasberryPi/Misc/lib differ diff --git a/macros/Hardware/RasberryPi/SPI/lib b/macros/Hardware/RasberryPi/SPI/lib new file mode 100644 index 0000000..a16d474 Binary files /dev/null and b/macros/Hardware/RasberryPi/SPI/lib differ diff --git a/macros/Hardware/RasberryPi/Serial/lib b/macros/Hardware/RasberryPi/Serial/lib new file mode 100644 index 0000000..a007f00 Binary files /dev/null and b/macros/Hardware/RasberryPi/Serial/lib differ diff --git a/macros/Hardware/RasberryPi/Setup/lib b/macros/Hardware/RasberryPi/Setup/lib new file mode 100644 index 0000000..83655c9 Binary files /dev/null and b/macros/Hardware/RasberryPi/Setup/lib differ diff --git a/macros/Hardware/RasberryPi/Shift/lib b/macros/Hardware/RasberryPi/Shift/lib new file mode 100644 index 0000000..2b12025 Binary files /dev/null and b/macros/Hardware/RasberryPi/Shift/lib differ diff --git a/macros/Hardware/RasberryPi/Soft/lib b/macros/Hardware/RasberryPi/Soft/lib new file mode 100644 index 0000000..09ecede Binary files /dev/null and b/macros/Hardware/RasberryPi/Soft/lib differ diff --git a/macros/Hardware/RasberryPi/Timing/lib b/macros/Hardware/RasberryPi/Timing/lib new file mode 100644 index 0000000..d271c90 Binary files /dev/null and b/macros/Hardware/RasberryPi/Timing/lib differ diff --git a/macros/Hardware/RasberryPi/gertBoard/lib b/macros/Hardware/RasberryPi/gertBoard/lib new file mode 100644 index 0000000..e8db080 Binary files /dev/null and b/macros/Hardware/RasberryPi/gertBoard/lib differ diff --git a/macros/Hardware/RasberryPi/lcd/lib b/macros/Hardware/RasberryPi/lcd/lib new file mode 100644 index 0000000..c2b693f Binary files /dev/null and b/macros/Hardware/RasberryPi/lcd/lib differ diff --git a/macros/Hardware/RasberryPi/lcd128x64/lib b/macros/Hardware/RasberryPi/lcd128x64/lib new file mode 100644 index 0000000..94dfda8 Binary files /dev/null and b/macros/Hardware/RasberryPi/lcd128x64/lib differ diff --git a/macros/Hardware/RasberryPi/lib b/macros/Hardware/RasberryPi/lib new file mode 100644 index 0000000..49ed811 Binary files /dev/null and b/macros/Hardware/RasberryPi/lib differ diff --git a/macros/Hardware/RasberryPi/mcp/lib b/macros/Hardware/RasberryPi/mcp/lib new file mode 100644 index 0000000..d411aad Binary files /dev/null and b/macros/Hardware/RasberryPi/mcp/lib differ diff --git a/macros/Hardware/RasberryPi/pcf/lib b/macros/Hardware/RasberryPi/pcf/lib new file mode 100644 index 0000000..da6a8da Binary files /dev/null and b/macros/Hardware/RasberryPi/pcf/lib differ diff --git a/macros/Hardware/RasberryPi/piGlow/lib b/macros/Hardware/RasberryPi/piGlow/lib new file mode 100644 index 0000000..3f30f85 Binary files /dev/null and b/macros/Hardware/RasberryPi/piGlow/lib differ diff --git a/macros/Hardware/RasberryPi/pinMap/lib b/macros/Hardware/RasberryPi/pinMap/lib new file mode 100644 index 0000000..133363e Binary files /dev/null and b/macros/Hardware/RasberryPi/pinMap/lib differ diff --git a/macros/Hardware/RasberryPi/pwm/lib b/macros/Hardware/RasberryPi/pwm/lib new file mode 100644 index 0000000..8711baf Binary files /dev/null and b/macros/Hardware/RasberryPi/pwm/lib differ diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib new file mode 100644 index 0000000..40b7b0a Binary files /dev/null and b/macros/ImageProcessing/core/lib differ diff --git a/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib new file mode 100644 index 0000000..0d7f88a Binary files /dev/null and b/macros/ImageProcessing/highgui/lib differ diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib new file mode 100644 index 0000000..63b5e7e Binary files /dev/null and b/macros/ImageProcessing/imgproc/lib differ diff --git a/macros/Scilab-Arduino/lib b/macros/Scilab-Arduino/lib new file mode 100644 index 0000000..a62fd4e Binary files /dev/null and b/macros/Scilab-Arduino/lib differ diff --git a/macros/SymbolTable/lib b/macros/SymbolTable/lib new file mode 100644 index 0000000..4379c83 Binary files /dev/null and b/macros/SymbolTable/lib differ diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci index 59ad956..ec5e6f6 100644 --- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci +++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci @@ -5603,6 +5603,117 @@ INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,E INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); +//------------------------------------ +//---- Class BESSELI ---------------- +//------------------------------------ +ClassName = 'besseli'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); + +PrintStringInfo('NIN= 2',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('d2d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('s2s2'+ArgSeparator+'s2',ClassFileName,'file','y'); + + +// --- Annotation Function And Function List Function. --- +FunctionName = 'besseli'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + +//------------------------------------ +//---- Class BESSELJ ---------------- +//------------------------------------ +ClassName = 'besselj'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); + +PrintStringInfo('NIN= 2',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('d2d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('s2s2'+ArgSeparator+'s2',ClassFileName,'file','y'); + + +// --- Annotation Function And Function List Function. --- +FunctionName = 'besselj'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + +//------------------------------------ +//---- Class BESSELK ---------------- +//------------------------------------ +ClassName = 'besselk'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); + +PrintStringInfo('NIN= 2',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('d2d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('s2s2'+ArgSeparator+'s2',ClassFileName,'file','y'); + + +// --- Annotation Function And Function List Function. --- +FunctionName = 'besselk'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + +//------------------------------------ +//---- Class BESSELY ---------------- +//------------------------------------ +ClassName = 'bessely'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); + +PrintStringInfo('NIN= 2',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('d2d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('s2s2'+ArgSeparator+'s2',ClassFileName,'file','y'); + + +// --- Annotation Function And Function List Function. --- +FunctionName = 'bessely'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + + + + //------------------------------------ //---- Class ERFC ---------------- //------------------------------------ diff --git a/macros/ToolInitialization/lib b/macros/ToolInitialization/lib new file mode 100644 index 0000000..670a52e Binary files /dev/null and b/macros/ToolInitialization/lib differ diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci index 6ffc9aa..a12a9e7 100644 --- a/macros/findDeps/getAllHeaders.sci +++ b/macros/findDeps/getAllHeaders.sci @@ -260,6 +260,10 @@ function allHeaders = getAllHeaders(SharedInfo) "src/c/specialFunctions/includes/gamma.h" "src/c/specialFunctions/includes/gammaln.h" "src/c/specialFunctions/includes/beta.h" + "src/c/specialFunctions/includes/besseli.h" + "src/c/specialFunctions/includes/besselj.h" + "src/c/specialFunctions/includes/besselk.h" + "src/c/specialFunctions/includes/bessely.h" "src/c/CACSD/includes/syslin.h" "src/c/CACSD/includes/lqr.h" "src/c/CACSD/includes/lqe.h" diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci index 633365c..9f1b6a0 100644 --- a/macros/findDeps/getAllInterfaces.sci +++ b/macros/findDeps/getAllInterfaces.sci @@ -255,6 +255,10 @@ function allInterfaces = getAllInterfaces(SharedInfo) "src/c/specialFunctions/interfaces/int_gamma.h" "src/c/specialFunctions/interfaces/int_gammaln.h" "src/c/specialFunctions/interfaces/int_beta.h" + "src/c/specialFunctions/interfaces/int_besseli.h" + "src/c/specialFunctions/interfaces/int_besselj.h" + "src/c/specialFunctions/interfaces/int_besselk.h" + "src/c/specialFunctions/interfaces/int_bessely.h" "src/c/CACSD/interfaces/int_syslin.h" "src/c/CACSD/interfaces/int_lqr.h" "src/c/CACSD/interfaces/int_lqe.h" diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci index 64f57fb..911b59c 100644 --- a/macros/findDeps/getAllSources.sci +++ b/macros/findDeps/getAllSources.sci @@ -1553,6 +1553,14 @@ function allSources = getAllSources(SharedInfo,BuildTool) "src/c/specialFunctions/beta/dbetaa.c" "src/c/specialFunctions/beta/sbetas.c" "src/c/specialFunctions/beta/sbetaa.c" + "src/c/specialFunctions/besseli/dbesselia.c" + "src/c/specialFunctions/besseli/sbesselia.c" + "src/c/specialFunctions/besselj/dbesselja.c" + "src/c/specialFunctions/besselj/sbesselja.c" + "src/c/specialFunctions/besselk/dbesselka.c" + "src/c/specialFunctions/besselk/sbesselka.c" + "src/c/specialFunctions/bessely/dbesselya.c" + "src/c/specialFunctions/bessely/sbesselya.c" "src/c/CACSD/syslin/dsyslina.c" "src/c/CACSD/lqr/dlqra.c" "src/c/CACSD/lqe/dlqea.c" diff --git a/macros/findDeps/lib b/macros/findDeps/lib new file mode 100644 index 0000000..afcd3ca Binary files /dev/null and b/macros/findDeps/lib differ diff --git a/macros/lib b/macros/lib new file mode 100644 index 0000000..551263e Binary files /dev/null and b/macros/lib differ -- cgit