Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Function template operator/

boost::histogram::operator/ — Pairwise divide cells of two histograms and return histogram with the quotient.


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

template<typename A1, typename S1, typename A2, typename S2> 
  auto operator/(const histogram< A1, S1 > & a, const histogram< A2, S2 > & b);


For notes on the returned histogram type, see operator+.