diff options
author | Abhinav Dronamraju | 2017-08-03 21:55:47 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-08-03 21:55:47 +0530 |
commit | 4c92529e0c6b84d90356e4a0511bc4c939d24ee1 (patch) | |
tree | 68171303d5f5272940f1d43d09fe179cf47125d5 /2.3-1/macros | |
parent | a2d79ab7eb8ae40367200e00a8401a697708c42c (diff) | |
download | Scilab2C-4c92529e0c6b84d90356e4a0511bc4c939d24ee1.tar.gz Scilab2C-4c92529e0c6b84d90356e4a0511bc4c939d24ee1.tar.bz2 Scilab2C-4c92529e0c6b84d90356e4a0511bc4c939d24ee1.zip |
Hank ADDED
Diffstat (limited to '2.3-1/macros')
-rw-r--r-- | 2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci | 26 | ||||
-rw-r--r-- | 2.3-1/macros/findDeps/getAllHeaders.sci | 1 | ||||
-rw-r--r-- | 2.3-1/macros/findDeps/getAllInterfaces.sci | 1 | ||||
-rw-r--r-- | 2.3-1/macros/findDeps/getAllSources.sci | 4 |
4 files changed, 32 insertions, 0 deletions
diff --git a/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci index 5539ddae..4e7dd67f 100644 --- a/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci +++ b/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci @@ -7761,6 +7761,32 @@ PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file', INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+//------------------------------------
+//---- Class HANK --------------------
+//------------------------------------
+ClassName = 'HANK';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+
+//Arguements specified: initial value, start time, time vector, ode function
+PrintStringInfo('NIN= 3',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= FA_MUL(IN(1).VAL,IN(3).SZ(1))',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_MUL(IN(2).VAL,IN(3).SZ(1))',ClassFileName,'file','y');
+
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d0d0d2'+ArgSeparator+'d2',ClassFileName,'file','y');
+PrintStringInfo('s0s0s2'+ArgSeparator+'s2',ClassFileName,'file','y');
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'hank';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
//------------------------------------
//---- Class FLIPDIM -----------------
//------------------------------------
diff --git a/2.3-1/macros/findDeps/getAllHeaders.sci b/2.3-1/macros/findDeps/getAllHeaders.sci index 83a86b7e..c3376e32 100644 --- a/2.3-1/macros/findDeps/getAllHeaders.sci +++ b/2.3-1/macros/findDeps/getAllHeaders.sci @@ -170,6 +170,7 @@ function allHeaders = getAllHeaders(SharedInfo) "src/c/string/includes/disp.h" "src/c/string/includes/str.h" "src/c/signalProcessing/includes/modk.h" + "src/c/signalProcessing/includes/hank.h" "src/c/signalProcessing/includes/idct.h" "src/c/signalProcessing/includes/dct.h" "src/c/signalProcessing/fft/fft_internal.h" diff --git a/2.3-1/macros/findDeps/getAllInterfaces.sci b/2.3-1/macros/findDeps/getAllInterfaces.sci index d0bc1ca1..d16aadbf 100644 --- a/2.3-1/macros/findDeps/getAllInterfaces.sci +++ b/2.3-1/macros/findDeps/getAllInterfaces.sci @@ -172,6 +172,7 @@ function allInterfaces = getAllInterfaces(SharedInfo) "src/c/string/interfaces/int_disp.h" "src/c/string/interfaces/int_string.h" "src/c/signalProcessing/interfaces/int_modk.h" + "src/c/signalProcessing/interfaces/int_hank.h" "src/c/signalProcessing/interfaces/int_idct.h" "src/c/signalProcessing/interfaces/int_dct.h" "src/c/signalProcessing/interfaces/int_ifft.h" diff --git a/2.3-1/macros/findDeps/getAllSources.sci b/2.3-1/macros/findDeps/getAllSources.sci index 5cdcd94b..dc27e0a9 100644 --- a/2.3-1/macros/findDeps/getAllSources.sci +++ b/2.3-1/macros/findDeps/getAllSources.sci @@ -1221,6 +1221,10 @@ function allSources = getAllSources(SharedInfo,BuildTool) "src/c/signalProcessing/conv/sconva.c" "src/c/signalProcessing/conv/zconva.c" "src/c/signalProcessing/conv/cconva.c" + "src/c/signalProcessing/hank/dhanka.c" + "src/c/signalProcessing/hank/shanka.c" + //"src/c/signalProcessing/conv/zconva.c" + //"src/c/signalProcessing/conv/cconva.c" "src/c/signalProcessing/ifft/difftbi.c" "src/c/signalProcessing/ifft/difftma.c" "src/c/signalProcessing/ifft/difftmx.c" |