summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/ASTManagement/libbin0 -> 2008 bytes
-rw-r--r--macros/CCodeGeneration/libbin0 -> 1056 bytes
-rw-r--r--macros/ErrorMessages/libbin0 -> 520 bytes
-rw-r--r--macros/FunctionAnnotation/libbin0 -> 2412 bytes
-rw-r--r--macros/FunctionList/libbin0 -> 588 bytes
-rw-r--r--macros/GeneralFunctions/libbin0 -> 1132 bytes
-rw-r--r--macros/Hardware/AVR/libbin0 -> 972 bytes
-rw-r--r--macros/Hardware/RasberryPi/Digital/libbin0 -> 600 bytes
-rw-r--r--macros/Hardware/RasberryPi/I2C/libbin0 -> 704 bytes
-rw-r--r--macros/Hardware/RasberryPi/Interrupt/libbin0 -> 536 bytes
-rw-r--r--macros/Hardware/RasberryPi/Misc/libbin0 -> 564 bytes
-rw-r--r--macros/Hardware/RasberryPi/SPI/libbin0 -> 584 bytes
-rw-r--r--macros/Hardware/RasberryPi/Serial/libbin0 -> 692 bytes
-rw-r--r--macros/Hardware/RasberryPi/Setup/libbin0 -> 616 bytes
-rw-r--r--macros/Hardware/RasberryPi/Shift/libbin0 -> 568 bytes
-rw-r--r--macros/Hardware/RasberryPi/Soft/libbin0 -> 636 bytes
-rw-r--r--macros/Hardware/RasberryPi/Timing/libbin0 -> 596 bytes
-rw-r--r--macros/Hardware/RasberryPi/gertBoard/libbin0 -> 656 bytes
-rw-r--r--macros/Hardware/RasberryPi/lcd/libbin0 -> 776 bytes
-rw-r--r--macros/Hardware/RasberryPi/lcd128x64/libbin0 -> 800 bytes
-rw-r--r--macros/Hardware/RasberryPi/libbin0 -> 592 bytes
-rw-r--r--macros/Hardware/RasberryPi/mcp/libbin0 -> 608 bytes
-rw-r--r--macros/Hardware/RasberryPi/pcf/libbin0 -> 536 bytes
-rw-r--r--macros/Hardware/RasberryPi/piGlow/libbin0 -> 596 bytes
-rw-r--r--macros/Hardware/RasberryPi/pinMap/libbin0 -> 548 bytes
-rw-r--r--macros/Hardware/RasberryPi/pwm/libbin0 -> 608 bytes
-rw-r--r--macros/ImageProcessing/core/libbin0 -> 524 bytes
-rw-r--r--macros/ImageProcessing/highgui/libbin0 -> 584 bytes
-rw-r--r--macros/ImageProcessing/imgproc/libbin0 -> 752 bytes
-rw-r--r--macros/Scilab-Arduino/libbin0 -> 716 bytes
-rw-r--r--macros/SymbolTable/libbin0 -> 752 bytes
-rw-r--r--macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci97
-rw-r--r--macros/ToolInitialization/libbin0 -> 804 bytes
-rw-r--r--macros/findDeps/getAllHeaders.sci2
-rw-r--r--macros/findDeps/getAllInterfaces.sci2
-rw-r--r--macros/findDeps/getAllSources.sci13
-rw-r--r--macros/findDeps/libbin0 -> 620 bytes
-rw-r--r--macros/libbin0 -> 536 bytes
38 files changed, 112 insertions, 2 deletions
diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib
new file mode 100644
index 0000000..dee4362
--- /dev/null
+++ b/macros/ASTManagement/lib
Binary files differ
diff --git a/macros/CCodeGeneration/lib b/macros/CCodeGeneration/lib
new file mode 100644
index 0000000..3d4fed1
--- /dev/null
+++ b/macros/CCodeGeneration/lib
Binary files differ
diff --git a/macros/ErrorMessages/lib b/macros/ErrorMessages/lib
new file mode 100644
index 0000000..ba3b9a5
--- /dev/null
+++ b/macros/ErrorMessages/lib
Binary files differ
diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib
new file mode 100644
index 0000000..239105c
--- /dev/null
+++ b/macros/FunctionAnnotation/lib
Binary files differ
diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib
new file mode 100644
index 0000000..1c722dd
--- /dev/null
+++ b/macros/FunctionList/lib
Binary files differ
diff --git a/macros/GeneralFunctions/lib b/macros/GeneralFunctions/lib
new file mode 100644
index 0000000..7586a91
--- /dev/null
+++ b/macros/GeneralFunctions/lib
Binary files differ
diff --git a/macros/Hardware/AVR/lib b/macros/Hardware/AVR/lib
new file mode 100644
index 0000000..ed4c52b
--- /dev/null
+++ b/macros/Hardware/AVR/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/Digital/lib b/macros/Hardware/RasberryPi/Digital/lib
new file mode 100644
index 0000000..ba42ba7
--- /dev/null
+++ b/macros/Hardware/RasberryPi/Digital/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/I2C/lib b/macros/Hardware/RasberryPi/I2C/lib
new file mode 100644
index 0000000..561476c
--- /dev/null
+++ b/macros/Hardware/RasberryPi/I2C/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/Interrupt/lib b/macros/Hardware/RasberryPi/Interrupt/lib
new file mode 100644
index 0000000..97a61ac
--- /dev/null
+++ b/macros/Hardware/RasberryPi/Interrupt/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/Misc/lib b/macros/Hardware/RasberryPi/Misc/lib
new file mode 100644
index 0000000..c718615
--- /dev/null
+++ b/macros/Hardware/RasberryPi/Misc/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/SPI/lib b/macros/Hardware/RasberryPi/SPI/lib
new file mode 100644
index 0000000..a16d474
--- /dev/null
+++ b/macros/Hardware/RasberryPi/SPI/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/Serial/lib b/macros/Hardware/RasberryPi/Serial/lib
new file mode 100644
index 0000000..a007f00
--- /dev/null
+++ b/macros/Hardware/RasberryPi/Serial/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/Setup/lib b/macros/Hardware/RasberryPi/Setup/lib
new file mode 100644
index 0000000..83655c9
--- /dev/null
+++ b/macros/Hardware/RasberryPi/Setup/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/Shift/lib b/macros/Hardware/RasberryPi/Shift/lib
new file mode 100644
index 0000000..2b12025
--- /dev/null
+++ b/macros/Hardware/RasberryPi/Shift/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/Soft/lib b/macros/Hardware/RasberryPi/Soft/lib
new file mode 100644
index 0000000..09ecede
--- /dev/null
+++ b/macros/Hardware/RasberryPi/Soft/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/Timing/lib b/macros/Hardware/RasberryPi/Timing/lib
new file mode 100644
index 0000000..d271c90
--- /dev/null
+++ b/macros/Hardware/RasberryPi/Timing/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/gertBoard/lib b/macros/Hardware/RasberryPi/gertBoard/lib
new file mode 100644
index 0000000..e8db080
--- /dev/null
+++ b/macros/Hardware/RasberryPi/gertBoard/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/lcd/lib b/macros/Hardware/RasberryPi/lcd/lib
new file mode 100644
index 0000000..c2b693f
--- /dev/null
+++ b/macros/Hardware/RasberryPi/lcd/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/lcd128x64/lib b/macros/Hardware/RasberryPi/lcd128x64/lib
new file mode 100644
index 0000000..94dfda8
--- /dev/null
+++ b/macros/Hardware/RasberryPi/lcd128x64/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/lib b/macros/Hardware/RasberryPi/lib
new file mode 100644
index 0000000..49ed811
--- /dev/null
+++ b/macros/Hardware/RasberryPi/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/mcp/lib b/macros/Hardware/RasberryPi/mcp/lib
new file mode 100644
index 0000000..d411aad
--- /dev/null
+++ b/macros/Hardware/RasberryPi/mcp/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/pcf/lib b/macros/Hardware/RasberryPi/pcf/lib
new file mode 100644
index 0000000..da6a8da
--- /dev/null
+++ b/macros/Hardware/RasberryPi/pcf/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/piGlow/lib b/macros/Hardware/RasberryPi/piGlow/lib
new file mode 100644
index 0000000..3f30f85
--- /dev/null
+++ b/macros/Hardware/RasberryPi/piGlow/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/pinMap/lib b/macros/Hardware/RasberryPi/pinMap/lib
new file mode 100644
index 0000000..133363e
--- /dev/null
+++ b/macros/Hardware/RasberryPi/pinMap/lib
Binary files differ
diff --git a/macros/Hardware/RasberryPi/pwm/lib b/macros/Hardware/RasberryPi/pwm/lib
new file mode 100644
index 0000000..8711baf
--- /dev/null
+++ b/macros/Hardware/RasberryPi/pwm/lib
Binary files differ
diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib
new file mode 100644
index 0000000..40b7b0a
--- /dev/null
+++ b/macros/ImageProcessing/core/lib
Binary files differ
diff --git a/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib
new file mode 100644
index 0000000..0d7f88a
--- /dev/null
+++ b/macros/ImageProcessing/highgui/lib
Binary files differ
diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib
new file mode 100644
index 0000000..63b5e7e
--- /dev/null
+++ b/macros/ImageProcessing/imgproc/lib
Binary files differ
diff --git a/macros/Scilab-Arduino/lib b/macros/Scilab-Arduino/lib
new file mode 100644
index 0000000..a62fd4e
--- /dev/null
+++ b/macros/Scilab-Arduino/lib
Binary files differ
diff --git a/macros/SymbolTable/lib b/macros/SymbolTable/lib
new file mode 100644
index 0000000..4379c83
--- /dev/null
+++ b/macros/SymbolTable/lib
Binary files differ
diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
index 436d8bc..9e31b31 100644
--- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
+++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
@@ -1015,9 +1015,65 @@ INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,Ex
// -------------------
-// --- Class Nanmax. ---
+// --- Class Nanmin. ---
// -------------------
-ClassName = 'Nanmax';
+ClassName = 'Nanmin';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+PrintStringInfo('NIN= 1',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= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 2',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('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= ''2''',ClassFileName,'file','y');
+
+
+//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)= FA_SZ_SEL1(IN(1).SZ(1),IN(2).VAL)',ClassFileName,'file','y');
+//PrintStringInfo('OUT(1).SZ(2)= FA_SZ_SEL2(IN(1).SZ(2),IN(2).VAL)',ClassFileName,'file','y');
+
+//PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+//PrintStringInfo('NOUT= 2',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(2).VAL)',ClassFileName,'file','y');
+//PrintStringInfo('OUT(1).SZ(2)= FA_SZ_SEL2(IN(1).SZ(2),IN(2).VAL)',ClassFileName,'file','y');
+//PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+//PrintStringInfo('OUT(2).SZ(1)= ''1''',ClassFileName,'file','y');
+//PrintStringInfo('OUT(2).SZ(2)= ''2''',ClassFileName,'file','y');
+
+//---Function list class. ----
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d0'+ArgSeparator+'d0',ClassFileName,'file','y');
+PrintStringInfo('d2'+ArgSeparator+'d0',ClassFileName,'file','y');
+PrintStringInfo('d2'+ArgSeparator+'d0d2',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'d0d2',ClassFileName,'file','y');
+//PrintStringInfo('d2g2'+ArgSeparator+'d2',ClassFileName,'file','y');
+//PrintStringInfo('d2g2'+ArgSeparator+'d2d2',ClassFileName,'file','y');
+
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'nanmin';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+// -------------------
+// --- Class Nanmean. ---
+// -------------------
+ClassName = 'Nanmean';
// --- Class Annotation. ---
PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
@@ -1039,6 +1095,40 @@ PrintStringInfo('d2'+ArgSeparator+'d0',ClassFileName,'file','y');
PrintStringInfo('d2g2'+ArgSeparator+'d2',ClassFileName,'file','y');
PrintStringInfo('s2'+ArgSeparator+'s0',ClassFileName,'file','y');
PrintStringInfo('s2g2'+ArgSeparator+'s2',ClassFileName,'file','y');
+PrintStringInfo('z2'+ArgSeparator+'z0',ClassFileName,'file','y');
+PrintStringInfo('z2g2'+ArgSeparator+'z2',ClassFileName,'file','y');
+
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'nanmean';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+// -------------------
+// --- Class Nanmax. ---
+// -------------------
+ClassName = 'Nanmax';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+PrintStringInfo('NIN= 1',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= 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)= FA_SZ_SEL1(IN(1).SZ(1),IN(2).VAL)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_SZ_SEL2(IN(1).SZ(2),IN(2).VAL)',ClassFileName,'file','y');
+//---Function list class. ----
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d2'+ArgSeparator+'d0',ClassFileName,'file','y');
+
// --- Annotation Function And Function List Function. ---
@@ -1046,6 +1136,9 @@ FunctionName = 'nanmax';
PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+
// -------------------
// --- Class Issquare. ---
// -------------------
diff --git a/macros/ToolInitialization/lib b/macros/ToolInitialization/lib
new file mode 100644
index 0000000..670a52e
--- /dev/null
+++ b/macros/ToolInitialization/lib
Binary files differ
diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci
index 90b80df..79c471d 100644
--- a/macros/findDeps/getAllHeaders.sci
+++ b/macros/findDeps/getAllHeaders.sci
@@ -134,6 +134,8 @@ function allHeaders = getAllHeaders(SharedInfo)
"src/c/elementaryFunctions/includes/nthroot.h"
"src/c/elementaryFunctions/includes/pmodulo.h"
"src/c/elementaryFunctions/includes/nanmax.h"
+ "src/c/elementaryFunctions/includes/nanmean.h"
+ "src/c/elementaryFunctions/includes/nanmin.h"
"src/c/elementaryFunctions/includes/issquare.h"
"src/c/elementaryFunctions/includes/isscalar.h"
"src/c/elementaryFunctions/includes/isvector.h"
diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci
index 4982900..cd44147 100644
--- a/macros/findDeps/getAllInterfaces.sci
+++ b/macros/findDeps/getAllInterfaces.sci
@@ -105,6 +105,8 @@ function allInterfaces = getAllInterfaces(SharedInfo)
"src/c/elementaryFunctions/interfaces/int_nthroot.h"
"src/c/elementaryFunctions/interfaces/int_pmodulo.h"
"src/c/elementaryFunctions/interfaces/int_nanmax.h"
+ "src/c/elementaryFunctions/interfaces/int_nanmean.h"
+ "src/c/elementaryFunctions/interfaces/int_nanmin.h"
"src/c/elementaryFunctions/interfaces/int_issquare.h"
"src/c/elementaryFunctions/interfaces/int_isscalar.h"
"src/c/elementaryFunctions/interfaces/int_isvector.h"
diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci
index cbb0a1e..ce73f5e 100644
--- a/macros/findDeps/getAllSources.sci
+++ b/macros/findDeps/getAllSources.sci
@@ -816,6 +816,19 @@ function allSources = getAllSources(SharedInfo,BuildTool)
"src/c/elementaryFunctions/nanmax/snanmaxa.c"
"src/c/elementaryFunctions/nanmax/snanmaxcola.c"
"src/c/elementaryFunctions/nanmax/snanmaxrowa.c"
+ "src/c/elementaryFunctions/nanmean/dnanmeana.c"
+ "src/c/elementaryFunctions/nanmean/dnanmeanrowa.c"
+ "src/c/elementaryFunctions/nanmean/dnanmeancola.c"
+ "src/c/elementaryFunctions/nanmean/snanmeana.c"
+ "src/c/elementaryFunctions/nanmean/snanmeanrowa.c"
+ "src/c/elementaryFunctions/nanmean/snanmeancola.c"
+ "src/c/elementaryFunctions/nanmean/znanmeana.c"
+ "src/c/elementaryFunctions/nanmean/znanmeanrowa.c"
+ "src/c/elementaryFunctions/nanmean/znanmeancola.c"
+ "src/c/elementaryFunctions/nanmin/dnanmina.c"
+ "src/c/elementaryFunctions/nanmin/dnanmins.c"
+ "src/c/elementaryFunctions/nanmin/dnanminnpa.c"
+ "src/c/elementaryFunctions/nanmin/dnanminnps.c"
"src/c/elementaryFunctions/isscalar/disscalara.c"
"src/c/elementaryFunctions/isscalar/disscalars.c"
"src/c/elementaryFunctions/isscalar/gisscalars.c"
diff --git a/macros/findDeps/lib b/macros/findDeps/lib
new file mode 100644
index 0000000..afcd3ca
--- /dev/null
+++ b/macros/findDeps/lib
Binary files differ
diff --git a/macros/lib b/macros/lib
new file mode 100644
index 0000000..551263e
--- /dev/null
+++ b/macros/lib
Binary files differ