#include <histogram.h>
Public Member Functions | |
void | Add (const ScalarType v) |
ScalarType | Avg () |
void | Clear () |
void | DirtyCheck () |
Distribution () | |
ScalarType | Max () |
ScalarType | Min () |
ScalarType | Percentile (ScalarType perc) |
ScalarType | RMS () |
Returns the Root Mean Square of the data. | |
ScalarType | StandardDeviation () |
Returns the standard deviation of the data. | |
ScalarType | Variance () |
Returns the variance of the data. | |
Private Attributes | |
double | avg |
bool | dirty |
double | max_v |
double | min_v |
double | rms |
double | sqrdAvg |
double | sqrdValSum |
double | valSum |
std::vector< ScalarType > | vec |
Definition at line 101 of file histogram.h.
vcg::Distribution< ScalarType >::Distribution | ( | ) | [inline] |
Definition at line 117 of file histogram.h.
void vcg::Distribution< ScalarType >::Add | ( | const ScalarType | v | ) | [inline] |
Definition at line 127 of file histogram.h.
ScalarType vcg::Distribution< ScalarType >::Avg | ( | ) | [inline] |
Definition at line 138 of file histogram.h.
void vcg::Distribution< ScalarType >::Clear | ( | ) | [inline] |
Definition at line 119 of file histogram.h.
void vcg::Distribution< ScalarType >::DirtyCheck | ( | ) | [inline] |
Definition at line 148 of file histogram.h.
ScalarType vcg::Distribution< ScalarType >::Max | ( | ) | [inline] |
Definition at line 136 of file histogram.h.
ScalarType vcg::Distribution< ScalarType >::Min | ( | ) | [inline] |
Definition at line 135 of file histogram.h.
ScalarType vcg::Distribution< ScalarType >::Percentile | ( | ScalarType | perc | ) | [inline] |
Definition at line 166 of file histogram.h.
ScalarType vcg::Distribution< ScalarType >::RMS | ( | ) | [inline] |
Returns the Root Mean Square of the data.
Definition at line 140 of file histogram.h.
ScalarType vcg::Distribution< ScalarType >::StandardDeviation | ( | ) | [inline] |
Returns the standard deviation of the data.
Definition at line 147 of file histogram.h.
ScalarType vcg::Distribution< ScalarType >::Variance | ( | ) | [inline] |
Returns the variance of the data.
Definition at line 144 of file histogram.h.
double vcg::Distribution< ScalarType >::avg [private] |
Definition at line 108 of file histogram.h.
bool vcg::Distribution< ScalarType >::dirty [private] |
Definition at line 105 of file histogram.h.
double vcg::Distribution< ScalarType >::max_v [private] |
Definition at line 112 of file histogram.h.
double vcg::Distribution< ScalarType >::min_v [private] |
Definition at line 111 of file histogram.h.
double vcg::Distribution< ScalarType >::rms [private] |
Definition at line 110 of file histogram.h.
double vcg::Distribution< ScalarType >::sqrdAvg [private] |
Definition at line 109 of file histogram.h.
double vcg::Distribution< ScalarType >::sqrdValSum [private] |
Definition at line 107 of file histogram.h.
double vcg::Distribution< ScalarType >::valSum [private] |
Definition at line 106 of file histogram.h.
std::vector<ScalarType> vcg::Distribution< ScalarType >::vec [private] |
Definition at line 104 of file histogram.h.