stat.h

Go to the documentation of this file.
00001 
00009 #if !defined(INC_UTIL_STAT_H)
00010 
00011 #define INC_UTIL_STAT_H
00012 
00013 #if !defined(VALTYPE)
00014 
00015 #define VALTYPE  double
00016 
00018 #define VALTYPE_IS_FLOAT 1
00019 
00021 #define VTMANGLE(x) stat_##x
00022 
00024 #define VALTYPE_STD_COMPARE 1
00025 
00026 #endif
00027 
00031 void VTMANGLE (CalcBasicStats) (const VALTYPE * x, size_t n,
00032                 VALTYPE * p_min, VALTYPE * p_max,
00033                 VALTYPE * p_mean, VALTYPE * p_median);
00034 
00038 void VTMANGLE (CalcMinMaxMean) (const VALTYPE * x, size_t n,
00039                 VALTYPE * p_min, VALTYPE * p_max,
00040                 VALTYPE * p_mean);
00041 
00045 void VTMANGLE (CalcMinMaxMedian) (const VALTYPE * x, size_t n,
00046                   VALTYPE * p_min, VALTYPE * p_max,
00047                   VALTYPE * p_median);
00048 
00052 VALTYPE VTMANGLE (CalcMedian) (const VALTYPE * x, size_t n);
00053 
00057 VALTYPE VTMANGLE (CalcMin) (const VALTYPE * x, size_t n);
00058 
00062 VALTYPE VTMANGLE (CalcMax) (const VALTYPE * x, size_t n);
00063 
00067 VALTYPE VTMANGLE (CalcMean) (const VALTYPE * x, size_t n);
00068 
00069 #endif
00070 
00071 /* eof */

Generated on Wed Sep 19 16:41:18 2007 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.4.6