24#ifndef quantlib_histogram_hpp
25#define quantlib_histogram_hpp
59 template <
class T,
class U>
60 Histogram(
T data_begin,
T data_end, U breaks_begin, U breaks_end)
70 const std::vector<Real>&
breaks()
const;
std::vector< Real > breaks_
Histogram(T data_begin, T data_end, Algorithm algorithm)
std::vector< Real > frequency_
std::vector< Size > counts_
Algorithm algorithm() const
Real frequency(Size i) const
Histogram(T data_begin, T data_end, U breaks_begin, U breaks_end)
Size counts(Size i) const
const std::vector< Real > & breaks() const
Histogram(T data_begin, T data_end, Size breaks)
std::vector< Real > data_
template class providing a null value for a given type.
std::size_t Size
size of a container