Tesseract
3.02
|
#include <statistc.h>
Public Member Functions | |
STATS (inT32 min_bucket_value, inT32 max_bucket_value_plus_1) | |
STATS () | |
~STATS () | |
bool | set_range (inT32 min_bucket_value, inT32 max_bucket_value_plus_1) |
void | clear () |
void | add (inT32 value, inT32 count) |
inT32 | mode () const |
double | mean () const |
double | sd () const |
double | ile (double frac) const |
inT32 | min_bucket () const |
inT32 | max_bucket () const |
double | median () const |
inT32 | pile_count (inT32 value) const |
inT32 | get_total () const |
bool | local_min (inT32 x) const |
void | smooth (inT32 factor) |
inT32 | cluster (float lower, float upper, float multiple, inT32 max_clusters, STATS *clusters) |
void | print () const |
void | print_summary () const |
void | plot (ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour) const |
void | plotline (ScrollView *window, float xorigin, float yorigin, float xscale, float yscale, ScrollView::Color colour) const |
Definition at line 29 of file statistc.h.
Definition at line 39 of file statistc.cpp.
STATS::STATS | ( | ) |
Definition at line 50 of file statistc.cpp.
STATS::~STATS | ( | ) |
Definition at line 91 of file statistc.cpp.
Definition at line 103 of file statistc.cpp.
void STATS::clear | ( | ) |
Definition at line 80 of file statistc.cpp.
inT32 STATS::cluster | ( | float | lower, |
float | upper, | ||
float | multiple, | ||
inT32 | max_clusters, | ||
STATS * | clusters | ||
) |
Definition at line 323 of file statistc.cpp.
|
inline |
Definition at line 82 of file statistc.h.
double STATS::ile | ( | double | frac | ) | const |
Definition at line 176 of file statistc.cpp.
bool STATS::local_min | ( | inT32 | x | ) | const |
Definition at line 265 of file statistc.cpp.
inT32 STATS::max_bucket | ( | ) | const |
Definition at line 224 of file statistc.cpp.
double STATS::mean | ( | ) | const |
Definition at line 137 of file statistc.cpp.
double STATS::median | ( | ) | const |
Definition at line 242 of file statistc.cpp.
inT32 STATS::min_bucket | ( | ) | const |
Definition at line 208 of file statistc.cpp.
inT32 STATS::mode | ( | ) | const |
Definition at line 117 of file statistc.cpp.
Definition at line 74 of file statistc.h.
void STATS::plot | ( | ScrollView * | window, |
float | xorigin, | ||
float | yorigin, | ||
float | xscale, | ||
float | yscale, | ||
ScrollView::Color | colour | ||
) | const |
Definition at line 497 of file statistc.cpp.
void STATS::plotline | ( | ScrollView * | window, |
float | xorigin, | ||
float | yorigin, | ||
float | xscale, | ||
float | yscale, | ||
ScrollView::Color | colour | ||
) | const |
Definition at line 524 of file statistc.cpp.
void STATS::print | ( | ) | const |
Definition at line 446 of file statistc.cpp.
void STATS::print_summary | ( | ) | const |
Definition at line 472 of file statistc.cpp.
double STATS::sd | ( | ) | const |
Definition at line 153 of file statistc.cpp.
Definition at line 61 of file statistc.cpp.
void STATS::smooth | ( | inT32 | factor | ) |
Definition at line 292 of file statistc.cpp.