diff options
author | cornet | 2009-04-22 11:43:58 +0000 |
---|---|---|
committer | cornet | 2009-04-22 11:43:58 +0000 |
commit | 0bb54c3bd1b4f41dc8336b53eaa2ca32126044e3 (patch) | |
tree | 65e00af6ae9d3d14f97478e193affb5bf3b72170 /src/statisticsFunctions/includes/statMax.h | |
parent | 088ab6f0fb18541245ef326f87d9150d54c6e1dc (diff) | |
download | scilab2c-0bb54c3bd1b4f41dc8336b53eaa2ca32126044e3.tar.gz scilab2c-0bb54c3bd1b4f41dc8336b53eaa2ca32126044e3.tar.bz2 scilab2c-0bb54c3bd1b4f41dc8336b53eaa2ca32126044e3.zip |
add statisticsFunctions project
Diffstat (limited to 'src/statisticsFunctions/includes/statMax.h')
-rw-r--r-- | src/statisticsFunctions/includes/statMax.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/statisticsFunctions/includes/statMax.h b/src/statisticsFunctions/includes/statMax.h index 91d21f12..3538bc1a 100644 --- a/src/statisticsFunctions/includes/statMax.h +++ b/src/statisticsFunctions/includes/statMax.h @@ -13,6 +13,11 @@ #ifndef __STAT_MAX_H__ #define __STAT_MAX_H__ +#include "dynlib_statisticsfunctions.h" + +#ifdef __cplusplus +extern "C" { +#endif /* ** \brief Sum of a scalar element, just returns it @@ -36,9 +41,9 @@ ** \param size, the size of the array ** \returns the max. */ -float smaxa(float *in, int size); -void srowmaxa(float *in, int lines, int columns, float* out); -void scolumnmaxa(float *in, int lines, int columns, float* out); +EXTERN_STATFUNC float smaxa(float *in, int size); +EXTERN_STATFUNC void srowmaxa(float *in, int lines, int columns, float* out); +EXTERN_STATFUNC void scolumnmaxa(float *in, int lines, int columns, float* out); /* ** \brief Sum of a double array @@ -46,9 +51,13 @@ void scolumnmaxa(float *in, int lines, int columns, float* out); ** \param size, the size of the array ** \returns the max. */ -double dmaxa(double *in, int size); -void drowmaxa(double *in, int lines, int columns, double* out); -void dcolumnmaxa(double *in, int lines, int columns, double* out); +EXTERN_STATFUNC double dmaxa(double *in, int size); +EXTERN_STATFUNC void drowmaxa(double *in, int lines, int columns, double* out); +EXTERN_STATFUNC void dcolumnmaxa(double *in, int lines, int columns, double* out); + +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif /* !__STAT_MAX_H__ */ |