...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::crop — Crop command to be used in reduce
.
// In header: <boost/histogram/algorithm/reduce.hpp> reduce_command crop(unsigned iaxis, double lower, double upper);
Command is applied to axis with given index.
Works like shrink
(see shrink documentation for details), but counts in removed bins are always discarded, whether underflow and overflow bins are present or not.
Parameters: |
|