Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template operator/

boost::histogram::operator/ — Divide all cells of the histogram by a number and return a new histogram.

Synopsis

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


template<typename A, typename S> 
  auto operator/(const histogram< A, S > & h, double x);

Description

If the original histogram has integer cells, the result has double cells.


PrevUpHomeNext