...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::operator* — Multiply all cells of the histogram by a number and return a new histogram.
// In header: <boost/histogram/histogram.hpp> template<typename A, typename S> auto operator*(const histogram< A, S > & h, double x);