#include <Histogram.h>
Public Types | |
|
typedef std::vector< HistogramBin< T > * >::iterator | bin_iterator |
Public Member Functions | |
| Histogram (const Histogram< T > &toCopy) | |
| Histogram (const T boundaries[], int count, bool finite=false) throw ( InvalidHistogramException ) | |
| Create a new Histogram with the given boundaries. | |
| Histogram (const T &start, const T &end, const T &interval, bool finite=false) throw ( InvalidHistogramException ) | |
| Create a new Histogram with the given range and interval. | |
| void | addValue (const T &value) throw ( ValueOutOfRangeException ) |
| add a value to the histogram | |
| void | clear (void) |
| Clear the values of the bins. | |
| int | size (void) const |
| get the number of bins in the Histogram | |
| double | getValue (int binIdx) const |
| get the value of the bin at a particular index | |
| const HistogramBin< T > & | getBin (int binIdx) const |
| get a reference to a particular bin | |
|
||||||||||||||||||||
|
Create a new Histogram with the given boundaries.
|
|
||||||||||||||||||||||||
|
Create a new Histogram with the given range and interval.
|
|
||||||||||
|
add a value to the histogram
|
|
||||||||||
|
get a reference to a particular bin
|
|
||||||||||
|
get the value of the bin at a particular index
|
1.4.2