Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function slice

boost::histogram::algorithm::slice — Slice option to be used in reduce().

Synopsis

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


reduce_option 
slice(unsigned iaxis, axis::index_type begin, axis::index_type end);

Description

Parameters:

begin

first index that should be kept.

end

one past the last index that should be kept.

iaxis

which axis to operate on.


PrevUpHomeNext