stats.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #define HI_FILTER 3
00028 #define LO_FILTER 1
00029 #define HI_LO_FILTER 2
00030 #define NO_FILTER 0
00031 #define HIGH_FILTER HI_FILTER
00032 #define LOW_FILTER LO_FILTER
00033 #define HILO_FILTER HI_LO_FILTER
00034 #define HIGH_LOW_FILTER HI_LO_FILTER
00035
00036
00037 typedef struct _TEST_STATS
00038 {
00039 double Average;
00040 double StdDev;
00041 double Minimum_Result;
00042 double Maximum_Result;
00043 long NumSamplesValid;
00044
00045 }
TEST_STATS, *
PTEST_STATS;
00046
00047
00048
BOOL
00049
Get_Stats(
00050
double *array,
00051
long num_samples,
00052
const filter_option,
00053
long var_limit,
00054 PTEST_STATS stats);
00055
00056
BOOL
00057
GetAverage(
00058
double Sample_Array[],
00059
long No_Samples,
00060
double *Average);
00061
00062
BOOL
00063
GetStdDev(
00064
double Sample_Array[],
00065
double Average,
00066
long No_Samples,
00067
double *varcoef);
00068
00069
void
00070
SortUp(
00071
double *array,
00072
long array_size);
00073
00074
BOOL
00075
FilterResults(
00076
double Sorted_Array[],
00077
double *tmpAverage,
00078
double *tmpSD,
00079
long *tmpNumSamples,
00080
long limit,
00081
const filter_option);
00082
00083
00084
00085
Generated on Sat May 15 19:41:52 2004 for test by
1.3.7