Boost C++ Libraries

...one 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 a snapshot of the develop branch, built from commit 0da16e0695.
PrevUpHomeNext

Function template operator-

boost::histogram::operator- — Pairwise subtract cells of two histograms and return histogram with the difference.

Synopsis

// 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);

Description

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


PrevUpHomeNext