diff options
author | Brijeshcr | 2017-07-20 14:01:36 +0530 |
---|---|---|
committer | GitHub | 2017-07-20 14:01:36 +0530 |
commit | b57f06d97f28704b8d9cc80b06e117d3d906d1d7 (patch) | |
tree | 4ee18ea99d187e38cccdac5fd3afaf7e825bba71 /2.3-1/macros | |
parent | 753a1302afb561e618d554b7d8b2c21e50562c43 (diff) | |
parent | 40913c177746aaf97d9fa62edb3c1ed9dc9873a5 (diff) | |
download | Scilab2C-b57f06d97f28704b8d9cc80b06e117d3d906d1d7.tar.gz Scilab2C-b57f06d97f28704b8d9cc80b06e117d3d906d1d7.tar.bz2 Scilab2C-b57f06d97f28704b8d9cc80b06e117d3d906d1d7.zip |
Merge pull request #20 from abhinavdronamraju/master
mad function added
Diffstat (limited to '2.3-1/macros')
-rw-r--r-- | 2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci | 5 | ||||
-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 | 33 |
4 files changed, 28 insertions, 12 deletions
diff --git a/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci index 89ffc36f..aacc909a 100644 --- a/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci +++ b/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci @@ -1949,6 +1949,11 @@ PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file', INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+FunctionName = 'mad'; // BJ : Done AS : Float_Done
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
FunctionName = 'st_deviation'; // BJ : Not implemented
PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
diff --git a/2.3-1/macros/findDeps/getAllHeaders.sci b/2.3-1/macros/findDeps/getAllHeaders.sci index 95ec1e9f..6f9a272e 100644 --- a/2.3-1/macros/findDeps/getAllHeaders.sci +++ b/2.3-1/macros/findDeps/getAllHeaders.sci @@ -144,6 +144,7 @@ function allHeaders = getAllHeaders(SharedInfo) "src/c/statisticsFunctions/includes/sum.h" "src/c/statisticsFunctions/includes/mean.h" "src/c/statisticsFunctions/includes/median.h" + "src/c/statisticsFunctions/includes/mad.h" "src/c/statisticsFunctions/includes/meanf.h" "src/c/statisticsFunctions/includes/stdevf.h" "src/c/statisticsFunctions/includes/prod.h" diff --git a/2.3-1/macros/findDeps/getAllInterfaces.sci b/2.3-1/macros/findDeps/getAllInterfaces.sci index 80043733..b826bb03 100644 --- a/2.3-1/macros/findDeps/getAllInterfaces.sci +++ b/2.3-1/macros/findDeps/getAllInterfaces.sci @@ -133,6 +133,7 @@ function allInterfaces = getAllInterfaces(SharedInfo) "src/c/elementaryFunctions/interfaces/int_isequal.h" "src/c/statisticsFunctions/interfaces/int_mean.h" "src/c/statisticsFunctions/interfaces/int_median.h" + "src/c/statisticsFunctions/interfaces/int_mad.h" "src/c/statisticsFunctions/interfaces/int_meanf.h" "src/c/statisticsFunctions/interfaces/int_stdevf.h" "src/c/statisticsFunctions/interfaces/int_prod.h" diff --git a/2.3-1/macros/findDeps/getAllSources.sci b/2.3-1/macros/findDeps/getAllSources.sci index 13371619..79bfd2bd 100644 --- a/2.3-1/macros/findDeps/getAllSources.sci +++ b/2.3-1/macros/findDeps/getAllSources.sci @@ -928,18 +928,27 @@ function allSources = getAllSources(SharedInfo,BuildTool) "src/c/statisticsFunctions/meanf/zmeanfdz.c" "src/c/statisticsFunctions/meanf/cmeanfsc.c" "src/c/statisticsFunctions/meanf/zcolumnmeanfa.c" -"src/c/statisticsFunctions/median/dmediana.c" -"src/c/statisticsFunctions/median/dmedianrowa.c" -"src/c/statisticsFunctions/median/dmediancola.c" -"src/c/statisticsFunctions/median/smediana.c" -"src/c/statisticsFunctions/median/smedianrowa.c" -"src/c/statisticsFunctions/median/smediancola.c" -"src/c/statisticsFunctions/median/u16mediana.c" -"src/c/statisticsFunctions/median/u16medianrowa.c" -"src/c/statisticsFunctions/median/u16mediancola.c" -"src/c/statisticsFunctions/median/zmediana.c" -"src/c/statisticsFunctions/median/zmediancola.c" -"src/c/statisticsFunctions/median/zmedianrowa.c" + "src/c/statisticsFunctions/median/dmediana.c" + "src/c/statisticsFunctions/median/dmedianrowa.c" + "src/c/statisticsFunctions/median/dmediancola.c" + "src/c/statisticsFunctions/median/smediana.c" + "src/c/statisticsFunctions/median/smedianrowa.c" + "src/c/statisticsFunctions/median/smediancola.c" + "src/c/statisticsFunctions/median/u16mediana.c" + "src/c/statisticsFunctions/median/u16medianrowa.c" + "src/c/statisticsFunctions/median/u16mediancola.c" + "src/c/statisticsFunctions/median/zmediana.c" + "src/c/statisticsFunctions/median/zmediancola.c" + "src/c/statisticsFunctions/median/zmedianrowa.c" +"src/c/statisticsFunctions/mad/dmada.c" +"src/c/statisticsFunctions/mad/dmadrowa.c" +"src/c/statisticsFunctions/mad/dmadcola.c" +"src/c/statisticsFunctions/mad/smada.c" +"src/c/statisticsFunctions/mad/smadrowa.c" +"src/c/statisticsFunctions/mad/smadcola.c" +"src/c/statisticsFunctions/mad/zmada.c" +"src/c/statisticsFunctions/mad/zmadrowa.c" +"src/c/statisticsFunctions/mad/zmadcola.c" "src/c/statisticsFunctions/prod/srowproda.c" "src/c/statisticsFunctions/prod/drowproda.c" "src/c/statisticsFunctions/prod/dproda.c" |