#include <histogram.h>
Public Member Functions | |
| template<typename DataType> | |
| histogram (af::const_ref< DataType > const &data, std::size_t n_slots=1000) | |
| Computation of the histogram. | |
| template<typename DataType> | |
| histogram (af::const_ref< DataType > const &data, DataType const &data_min, DataType const &data_max, std::size_t n_slots=1000, ValueType const &relative_tolerance=1.e-4) | |
| Histogram using user-defined data_min(), data_max(). | |
| template<typename DataType> | |
| histogram (histogram const &other, af::const_ref< DataType > const &data, ValueType const &relative_tolerance=1.e-4) | |
| Histogram using slots of other. | |
| ValueType | data_min () const |
| Minimum slot cutoff. | |
| ValueType | data_max () const |
| Maximum slot cutoff. | |
| ValueType | slot_width () const |
| Slot width used in the determination of the histogram. | |
| af::shared< CountType > | slots () const |
| Direct access to the array of counts. | |
| std::size_t | n_out_of_slot_range () const |
| Number of unaccounted data values. | |
| ValueType | get_cutoff (CountType const &max_points, ValueType const &relative_tolerance=1.e-4) const |
| Determination of the cutoff value given a maximum number of points. | |
1.5.6