22 #ifndef EDSP_FISHER_HISTOGRAM_HPP 23 #define EDSP_FISHER_HISTOGRAM_HPP 25 #include <edsp/meta/unused.hpp> 28 namespace edsp {
namespace statistics {
40 template <
typename T,
typename Allocator = std::allocator<std::pair<T, T>>>
52 cache_size_(cache_size),
64 template <
typename InIterator,
typename OutputIt>
65 constexpr
void compute(InIterator first, InIterator last, OutputIt out) {
75 std::vector<std::pair<T, T>, Allocator> bins_;
80 #endif // EDSP_FISHER_HISTOGRAM_HPP std::size_t size_type
Definition: histogram.hpp:42
constexpr void compute(InIterator first, InIterator last, OutputIt out)
Computes the histogram of the range [first, last).
Definition: histogram.hpp:65
Histogram density estimator.
Definition: histogram.hpp:41
constexpr histogram(size_type num_bins, size_type cache_size)
Creates an Histogram with the specified number of bins and cache size.
Definition: histogram.hpp:50
T value_type
Definition: histogram.hpp:43
Definition: amplifier.hpp:29