Histogram.
More...
#include <IMP/statistics/Histogram.h>
|
| Histogram (double start, double end, unsigned int num_bins) |
| Constructor. More...
|
|
void | add (double x) |
| Increase the count for the bin that holds a.
|
|
double | get_top (double percentage) const |
| Get the lowest value for which X% of the histogram data is lower from. More...
|
|
unsigned int | get_total_count () const |
| Get the sum of all counts in the histogram.
|
|
void | show (std::ostream &out=std::cout) const |
|
Keeps a set of values within a range the range is arranged into some number of bins specified during construction.
- Deprecated:
- {Use HistogramD instead.}
Definition at line 21 of file Histogram.h.
IMP::statistics::Histogram::Histogram |
( |
double |
start, |
|
|
double |
end, |
|
|
unsigned int |
num_bins |
|
) |
| |
- Parameters
-
[in] | start | the start value of the range |
[in] | end | the end value of the range |
[in] | num_bins | the number of bins [start,end] is divided to |
double IMP::statistics::Histogram::get_top |
( |
double |
percentage | ) |
const |
- Parameters
-
percentage | the percenrage (between 0 to 1) The name of this function will change to be more accurate. |
- Warning: get_top has not been stabilized and is likely to change without notice.
The documentation for this class was generated from the following file: