STATS Class Reference

#include <statistc.h>

List of all members.

Public Member Functions

 STATS (inT32 min, inT32 max)
 STATS ()
 ~STATS ()
bool set_range (inT32 min, inT32 max)
void clear ()
void add (inT32 value, inT32 count)
inT32 mode ()
float mean ()
float sd ()
float ile (float frac)
inT32 min_bucket ()
inT32 max_bucket ()
float median ()
void smooth (inT32 factor)
inT32 cluster (float lower, float upper, float multiple, inT32 max_clusters, STATS *clusters)
inT32 pile_count (inT32 value)
inT32 get_total ()
BOOL8 local_min (inT32 x)
void print (FILE *fp, BOOL8 dump)
void short_print (FILE *fp, BOOL8 dump)
void plot (ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour)
void plotline (ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour)

Constructor & Destructor Documentation

STATS::STATS ( inT32  min,
inT32  max 
)
STATS::STATS (  ) 
STATS::~STATS (  ) 

Member Function Documentation

void STATS::add ( inT32  value,
inT32  count 
)
void STATS::clear (  ) 
inT32 STATS::cluster ( float  lower,
float  upper,
float  multiple,
inT32  max_clusters,
STATS clusters 
)
inT32 STATS::get_total (  )  [inline]
float STATS::ile ( float  frac  ) 
BOOL8 STATS::local_min ( inT32  x  ) 
inT32 STATS::max_bucket (  ) 
float STATS::mean (  ) 
float STATS::median (  ) 
inT32 STATS::min_bucket (  ) 
inT32 STATS::mode (  ) 
inT32 STATS::pile_count ( inT32  value  )  [inline]
void STATS::plot ( ScrollView window,
float  xorigin,
float  yorigin,
float  xscale,
float  yscale,
ScrollView::Color  colour 
)
void STATS::plotline ( ScrollView window,
float  xorigin,
float  yorigin,
float  xscale,
float  yscale,
ScrollView::Color  colour 
)
void STATS::print ( FILE *  fp,
BOOL8  dump 
)
float STATS::sd (  ) 
bool STATS::set_range ( inT32  min,
inT32  max 
)
void STATS::short_print ( FILE *  fp,
BOOL8  dump 
)
void STATS::smooth ( inT32  factor  ) 

The documentation for this class was generated from the following files:
Generated on Sun Jul 18 17:11:15 2010 for Tesseract by  doxygen 1.6.3