General histogram class.
More...
#include <clipper_stats.h>
Inheritance diagram for clipper::Histogram:
List of all members.
Public Member Functions
null constructor
constructor: from range and sampling
add value to histogram (if it is in range)
add specified value to histogram (if it is in range)
return sum of whole histogram
const
ftype &
y (const int &i) const
return value at index in histogram (Note: no bound check on i)
return value at interpolated position in histogram
add the contents of two histograms (size must match)
return x-value corresponding to centre of i'th range
return x-value corresponding to bottom of i'th range
return x-value corresponding to top of i'th range
return number of samplings in range
Detailed Description
General histogram class.
This class is used to accumulate and access a histogram of values spread over a specified range. On storing data or retrieving by interpolation the range is checked.
The documentation for this class was generated from the following files: