summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-09-11 17:30:37 +0530
committerAbhinav Dronamraju2017-09-11 17:30:37 +0530
commit273ef3e4f43d0ee0d495f5b1d923df3c17978798 (patch)
tree8a6f6dbf7728fba35db1500146671a62e0949aab
parent52291b151ea22ce32018fbaefd331eac757feda0 (diff)
parent19f631f8ad029b045dfc70e8c887013bd78f3e5d (diff)
downloadScilab2C_fossee_old-273ef3e4f43d0ee0d495f5b1d923df3c17978798.tar.gz
Scilab2C_fossee_old-273ef3e4f43d0ee0d495f5b1d923df3c17978798.tar.bz2
Scilab2C_fossee_old-273ef3e4f43d0ee0d495f5b1d923df3c17978798.zip
brijesh insertions added
-rw-r--r--includes/sci2clib.h16
-rw-r--r--jar/scilab_en_US_help.jarbin11210 -> 20784 bytes
-rw-r--r--macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci111
-rw-r--r--macros/findDeps/getAllHeaders.sci4
-rw-r--r--macros/findDeps/getAllInterfaces.sci4
-rw-r--r--macros/findDeps/getAllSources.sci8
6 files changed, 143 insertions, 0 deletions
diff --git a/includes/sci2clib.h b/includes/sci2clib.h
index 47ce35c..2d3d95e 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 eac10b4..6128108 100644
--- a/jar/scilab_en_US_help.jar
+++ b/jar/scilab_en_US_help.jar
Binary files differ
diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
index a67a558..daa5734 100644
--- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
+++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
@@ -5609,6 +5609,117 @@ INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,Ex
//------------------------------------
+//---- 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 ----------------
//------------------------------------
ClassName = 'erfc';
diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci
index d564c5b..849856c 100644
--- a/macros/findDeps/getAllHeaders.sci
+++ b/macros/findDeps/getAllHeaders.sci
@@ -265,6 +265,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 4ede91e..04b2796 100644
--- a/macros/findDeps/getAllInterfaces.sci
+++ b/macros/findDeps/getAllInterfaces.sci
@@ -260,6 +260,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 0adf0e4..0dcf36a 100644
--- a/macros/findDeps/getAllSources.sci
+++ b/macros/findDeps/getAllSources.sci
@@ -1569,6 +1569,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"