Type:
Note that samples lying outside of the specified interval are still included in the mean and variance calculations. |
Histogram | () ; |
Histogram | (float sxmin, float sxmax, float sxh) ; |
Histogram on interval (sxmin, sxmax) with bins of width sxh |
Histogram | (float sxmin, float sxmax, unsigned long int sNbins) ; |
Histogram with sNbins on interval (sxmin, sxmax) |
~Histogram | () ; |
int reset | (float sxmin, float sxmax, float sxh) ; |
Reset histogram to interval (sxmin, sxmax) with bins of width sxh |
int reset | (float sxmin, float sxmax, unsigned long int sNbins) ; |
Reset histogram to have sNbins on interval (sxmin, sxmax) |
int insert | (float x) ; |
Add sample to sample set |
long int bin | (unsigned long int x) const ; |
Return number of samples in bin x |
float N | () const ; |
Return sample size |
float hxmin | () const ; |
Return minimum sample value |
float hxmax | () const ; |
Return maximum sample value |
float mean | () const ; |
Return sample mean |
float variance | () const ; |
Return sample variance |
float Entropy | () const ; |
Estimate entropy of associated pdf |
int save | (const char *filename) const ; |
int savebins | (ofstream& s) const ; |