#include <liarsdice/statistics/histogram.hpp>
template<typename T1 = double, typename T2 = double>
Histogram2D class
2D histogram for correlation analysis
Public types
- using histogram_type = decltype(bh::make_histogram(std::declval<typename Histogram<T1>::axis_type>(), std::declval<typename Histogram<T2>::axis_type>()))
Constructors, destructors, conversion operators
- Histogram2D(std::size_t bins_x, T1 min_x, T1 max_x, std::size_t bins_y, T2 min_y, T2 max_y)
Public functions
- void add(T1 x, T2 y, double weight = 1.0)
- auto correlation() const -> double