Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template reduce

boost::histogram::algorithm::reduce — Shrink and/or rebin axes of a histogram.

Synopsis

// In header: <boost/histogram/algorithm/reduce.hpp>


template<typename Histogram, class... Ts> 
  decltype(auto) 
  reduce(const Histogram & hist, const reduce_option & opt, Ts &&... opts);

Description

Returns the modified copy.

Parameters:

hist

original histogram.

opt

reduce option generated by shrink_and_rebin(), shrink(), and rebin().

opts

more reduce_options.


PrevUpHomeNext