boost::histogram::algorithm::slice — Slice option to be used in reduce().
// In header: <boost/histogram/algorithm/reduce.hpp> reduce_option slice(unsigned iaxis, axis::index_type begin, axis::index_type end);
Parameters:
begin
first index that should be kept.
end
one past the last index that should be kept.
iaxis
which axis to operate on.