Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template project

boost::histogram::algorithm::project — Returns a lower-dimensional histogram, summing over removed axes.

Synopsis

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


template<typename A, typename S, typename Iterable> 
  auto project(const histogram< A, S > & h, const Iterable & c);

Description

This version accepts a source histogram and an iterable range containing the remaining indices.


PrevUpHomeNext