boost::histogram::algorithm::rebin — Rebin command to be used in
// In header: <boost/histogram/algorithm/reduce.hpp> reduce_command rebin(unsigned iaxis, unsigned merge);
Command is applied to axis with given index.
The command merges N adjacent bins into one. This makes the axis coarser and the bins wider. The original number of bins is divided by N. If there is a rest to this devision, the axis is implicitly shrunk at the upper end by that rest.