...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::histogram::algorithm::rebin — Convenience overload for single axis.
// In header: <boost/histogram/algorithm/reduce.hpp> auto rebin(unsigned merge);