diff options
author | Brijeshcr | 2017-08-01 16:18:48 +0530 |
---|---|---|
committer | Brijeshcr | 2017-08-01 16:18:48 +0530 |
commit | e47a705e2a330fc6745ad406d04d63075df65492 (patch) | |
tree | 2cb948b94da3e1e6ccdbc726f00cc6d85e19affe /macros | |
parent | 4dbbef28f20d66f4d838a991e74311c921227ea2 (diff) | |
download | Scilab2C_fossee_old-e47a705e2a330fc6745ad406d04d63075df65492.tar.gz Scilab2C_fossee_old-e47a705e2a330fc6745ad406d04d63075df65492.tar.bz2 Scilab2C_fossee_old-e47a705e2a330fc6745ad406d04d63075df65492.zip |
Added Moment
Diffstat (limited to 'macros')
38 files changed, 51 insertions, 0 deletions
diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib Binary files differnew file mode 100644 index 0000000..dee4362 --- /dev/null +++ b/macros/ASTManagement/lib diff --git a/macros/CCodeGeneration/lib b/macros/CCodeGeneration/lib Binary files differnew file mode 100644 index 0000000..3d4fed1 --- /dev/null +++ b/macros/CCodeGeneration/lib diff --git a/macros/ErrorMessages/lib b/macros/ErrorMessages/lib Binary files differnew file mode 100644 index 0000000..ba3b9a5 --- /dev/null +++ b/macros/ErrorMessages/lib diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib Binary files differnew file mode 100644 index 0000000..239105c --- /dev/null +++ b/macros/FunctionAnnotation/lib diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib Binary files differnew file mode 100644 index 0000000..1c722dd --- /dev/null +++ b/macros/FunctionList/lib diff --git a/macros/GeneralFunctions/lib b/macros/GeneralFunctions/lib Binary files differnew file mode 100644 index 0000000..7586a91 --- /dev/null +++ b/macros/GeneralFunctions/lib diff --git a/macros/Hardware/AVR/lib b/macros/Hardware/AVR/lib Binary files differnew file mode 100644 index 0000000..ed4c52b --- /dev/null +++ b/macros/Hardware/AVR/lib diff --git a/macros/Hardware/RasberryPi/Digital/lib b/macros/Hardware/RasberryPi/Digital/lib Binary files differnew file mode 100644 index 0000000..ba42ba7 --- /dev/null +++ b/macros/Hardware/RasberryPi/Digital/lib diff --git a/macros/Hardware/RasberryPi/I2C/lib b/macros/Hardware/RasberryPi/I2C/lib Binary files differnew file mode 100644 index 0000000..561476c --- /dev/null +++ b/macros/Hardware/RasberryPi/I2C/lib diff --git a/macros/Hardware/RasberryPi/Interrupt/lib b/macros/Hardware/RasberryPi/Interrupt/lib Binary files differnew file mode 100644 index 0000000..97a61ac --- /dev/null +++ b/macros/Hardware/RasberryPi/Interrupt/lib diff --git a/macros/Hardware/RasberryPi/Misc/lib b/macros/Hardware/RasberryPi/Misc/lib Binary files differnew file mode 100644 index 0000000..c718615 --- /dev/null +++ b/macros/Hardware/RasberryPi/Misc/lib diff --git a/macros/Hardware/RasberryPi/SPI/lib b/macros/Hardware/RasberryPi/SPI/lib Binary files differnew file mode 100644 index 0000000..a16d474 --- /dev/null +++ b/macros/Hardware/RasberryPi/SPI/lib diff --git a/macros/Hardware/RasberryPi/Serial/lib b/macros/Hardware/RasberryPi/Serial/lib Binary files differnew file mode 100644 index 0000000..a007f00 --- /dev/null +++ b/macros/Hardware/RasberryPi/Serial/lib diff --git a/macros/Hardware/RasberryPi/Setup/lib b/macros/Hardware/RasberryPi/Setup/lib Binary files differnew file mode 100644 index 0000000..83655c9 --- /dev/null +++ b/macros/Hardware/RasberryPi/Setup/lib diff --git a/macros/Hardware/RasberryPi/Shift/lib b/macros/Hardware/RasberryPi/Shift/lib Binary files differnew file mode 100644 index 0000000..2b12025 --- /dev/null +++ b/macros/Hardware/RasberryPi/Shift/lib diff --git a/macros/Hardware/RasberryPi/Soft/lib b/macros/Hardware/RasberryPi/Soft/lib Binary files differnew file mode 100644 index 0000000..09ecede --- /dev/null +++ b/macros/Hardware/RasberryPi/Soft/lib diff --git a/macros/Hardware/RasberryPi/Timing/lib b/macros/Hardware/RasberryPi/Timing/lib Binary files differnew file mode 100644 index 0000000..d271c90 --- /dev/null +++ b/macros/Hardware/RasberryPi/Timing/lib diff --git a/macros/Hardware/RasberryPi/gertBoard/lib b/macros/Hardware/RasberryPi/gertBoard/lib Binary files differnew file mode 100644 index 0000000..e8db080 --- /dev/null +++ b/macros/Hardware/RasberryPi/gertBoard/lib diff --git a/macros/Hardware/RasberryPi/lcd/lib b/macros/Hardware/RasberryPi/lcd/lib Binary files differnew file mode 100644 index 0000000..c2b693f --- /dev/null +++ b/macros/Hardware/RasberryPi/lcd/lib diff --git a/macros/Hardware/RasberryPi/lcd128x64/lib b/macros/Hardware/RasberryPi/lcd128x64/lib Binary files differnew file mode 100644 index 0000000..94dfda8 --- /dev/null +++ b/macros/Hardware/RasberryPi/lcd128x64/lib diff --git a/macros/Hardware/RasberryPi/lib b/macros/Hardware/RasberryPi/lib Binary files differnew file mode 100644 index 0000000..49ed811 --- /dev/null +++ b/macros/Hardware/RasberryPi/lib diff --git a/macros/Hardware/RasberryPi/mcp/lib b/macros/Hardware/RasberryPi/mcp/lib Binary files differnew file mode 100644 index 0000000..d411aad --- /dev/null +++ b/macros/Hardware/RasberryPi/mcp/lib diff --git a/macros/Hardware/RasberryPi/pcf/lib b/macros/Hardware/RasberryPi/pcf/lib Binary files differnew file mode 100644 index 0000000..da6a8da --- /dev/null +++ b/macros/Hardware/RasberryPi/pcf/lib diff --git a/macros/Hardware/RasberryPi/piGlow/lib b/macros/Hardware/RasberryPi/piGlow/lib Binary files differnew file mode 100644 index 0000000..3f30f85 --- /dev/null +++ b/macros/Hardware/RasberryPi/piGlow/lib diff --git a/macros/Hardware/RasberryPi/pinMap/lib b/macros/Hardware/RasberryPi/pinMap/lib Binary files differnew file mode 100644 index 0000000..133363e --- /dev/null +++ b/macros/Hardware/RasberryPi/pinMap/lib diff --git a/macros/Hardware/RasberryPi/pwm/lib b/macros/Hardware/RasberryPi/pwm/lib Binary files differnew file mode 100644 index 0000000..8711baf --- /dev/null +++ b/macros/Hardware/RasberryPi/pwm/lib diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib Binary files differnew file mode 100644 index 0000000..40b7b0a --- /dev/null +++ b/macros/ImageProcessing/core/lib diff --git a/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib Binary files differnew file mode 100644 index 0000000..0d7f88a --- /dev/null +++ b/macros/ImageProcessing/highgui/lib diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib Binary files differnew file mode 100644 index 0000000..63b5e7e --- /dev/null +++ b/macros/ImageProcessing/imgproc/lib diff --git a/macros/Scilab-Arduino/lib b/macros/Scilab-Arduino/lib Binary files differnew file mode 100644 index 0000000..a62fd4e --- /dev/null +++ b/macros/Scilab-Arduino/lib diff --git a/macros/SymbolTable/lib b/macros/SymbolTable/lib Binary files differnew file mode 100644 index 0000000..4379c83 --- /dev/null +++ b/macros/SymbolTable/lib diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci index 2ca622f..872a750 100644 --- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci +++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci @@ -1015,6 +1015,46 @@ INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,Ex // -------------------
+// --- Class MOMENT. ---
+// -------------------
+ClassName = 'moment';
+
+// --- 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)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
+
+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_SZ_SEL1(IN(1).SZ(1),IN(3).VAL)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_SZ_SEL2(IN(1).SZ(2),IN(3).VAL)',ClassFileName,'file','y');
+
+//---Function list class. ----
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d2d0'+ArgSeparator+'d0',ClassFileName,'file','y');
+PrintStringInfo('d2d0g2'+ArgSeparator+'d2',ClassFileName,'file','y');
+PrintStringInfo('s2d0'+ArgSeparator+'s0',ClassFileName,'file','y');
+PrintStringInfo('s2d0g2'+ArgSeparator+'s2',ClassFileName,'file','y');
+PrintStringInfo('z2d0'+ArgSeparator+'z0',ClassFileName,'file','y');
+PrintStringInfo('z2d0g2'+ArgSeparator+'z2',ClassFileName,'file','y');
+
+
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'moment';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+
+
+// -------------------
// --- Class Nanmin. ---
// -------------------
ClassName = 'Nanmin';
diff --git a/macros/ToolInitialization/lib b/macros/ToolInitialization/lib Binary files differnew file mode 100644 index 0000000..670a52e --- /dev/null +++ b/macros/ToolInitialization/lib diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci index 1a45523..7711b81 100644 --- a/macros/findDeps/getAllHeaders.sci +++ b/macros/findDeps/getAllHeaders.sci @@ -157,6 +157,7 @@ function allHeaders = getAllHeaders(SharedInfo) "src/c/statisticsFunctions/includes/dynlib_statisticsfunctions.h" "src/c/statisticsFunctions/includes/statMax.h" "src/c/statisticsFunctions/includes/statMin.h" + "src/c/statisticsFunctions/includes/moment.h" "src/c/operations/includes/subtraction.h" "src/c/operations/includes/addition.h" "src/c/operations/includes/dynlib_operations.h" diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci index 12f5b3d..0ff4775 100644 --- a/macros/findDeps/getAllInterfaces.sci +++ b/macros/findDeps/getAllInterfaces.sci @@ -145,6 +145,7 @@ function allInterfaces = getAllInterfaces(SharedInfo) "src/c/statisticsFunctions/interfaces/int_prod.h" "src/c/statisticsFunctions/interfaces/int_variance.h" "src/c/statisticsFunctions/interfaces/int_sum.h" + "src/c/statisticsFunctions/interfaces/int_moment.h" "src/c/operations/interfaces/int_OpEqual.h" "src/c/operations/interfaces/int_OpLogNot.h" "src/c/operations/interfaces/int_OpLogEq.h" diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci index 7e0a806..949fe0d 100644 --- a/macros/findDeps/getAllSources.sci +++ b/macros/findDeps/getAllSources.sci @@ -1046,6 +1046,15 @@ function allSources = getAllSources(SharedInfo,BuildTool) "src/c/statisticsFunctions/stdevf/zrowstdevfa.c" "src/c/statisticsFunctions/stdevf/ccolumnstdevfa.c" "src/c/statisticsFunctions/stdevf/scolumnstdevfa.c" + "src/c/statisticsFunctions/moment/dmoments.c" + "src/c/statisticsFunctions/moment/dmomentrowa.c" + "src/c/statisticsFunctions/moment/dmomentcola.c" + "src/c/statisticsFunctions/moment/smoments.c" + "src/c/statisticsFunctions/moment/smomentrowa.c" + "src/c/statisticsFunctions/moment/smomentcola.c" + "src/c/statisticsFunctions/moment/zmoments.c" + "src/c/statisticsFunctions/moment/zmomentrowa.c" + "src/c/statisticsFunctions/moment/zmomentcola.c" "src/c/operations/multiplication/cmula.c" "src/c/operations/multiplication/cmuls.c" "src/c/operations/multiplication/cmulv.c" diff --git a/macros/findDeps/lib b/macros/findDeps/lib Binary files differnew file mode 100644 index 0000000..afcd3ca --- /dev/null +++ b/macros/findDeps/lib diff --git a/macros/lib b/macros/lib Binary files differnew file mode 100644 index 0000000..551263e --- /dev/null +++ b/macros/lib |