#include <histogram.h>
Public Member Functions | |
void | setup (std::vector< float > &x) |
void | build (std::vector< float > &, const float, const float) |
float | min () const |
float | max () const |
float | amax () const |
float | mean () const |
float | stddev () const |
float | operator() (const float x) const |
float | operator() (const float x0, const float x1) const |
Protected Attributes | |
std::vector< int > | h |
long | nbin |
int | hmax |
float | minv |
float | maxv |
float | amaxv |
float | meanv |
float | stddevv |
Definition at line 28 of file histogram.h.
float Histogram::amax | ( | ) | const [inline] |
void Histogram::build | ( | std::vector< float > & | , | |
const | float, | |||
const | float | |||
) |
Referenced by HistogramWidget::set().
float Histogram::max | ( | ) | const [inline] |
float Histogram::mean | ( | ) | const [inline] |
Definition at line 40 of file histogram.h.
References meanv.
Referenced by HistogramWidget::setComboBoxes().
float Histogram::min | ( | ) | const [inline] |
float Histogram::operator() | ( | const float | x0, | |
const float | x1 | |||
) | const |
float Histogram::operator() | ( | const float | x | ) | const |
void Histogram::setup | ( | std::vector< float > & | x | ) |
Referenced by HistogramWidget::set().
float Histogram::stddev | ( | ) | const [inline] |
Definition at line 41 of file histogram.h.
References stddevv.
Referenced by HistogramWidget::setComboBoxes().
float Histogram::amaxv [protected] |
std::vector<int> Histogram::h [protected] |
int Histogram::hmax [protected] |
float Histogram::maxv [protected] |
float Histogram::meanv [protected] |
float Histogram::minv [protected] |
long Histogram::nbin [protected] |
float Histogram::stddevv [protected] |