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 to view this page for the latest version.

Struct log

boost::histogram::axis::transform::log — Log transform for equidistant bins in log-space.


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

struct log {

  // public static functions
  template<typename T> static T forward(T);
  template<typename T> static T inverse(T);

  // public member functions
  template<typename Archive> void serialize(Archive &, unsigned);


log public static functions

  1. template<typename T> static T forward(T x);
    Returns log(x) of external value x.
  2. template<typename T> static T inverse(T x);
    Returns exp(x) for internal value x.

log public member functions

  1. template<typename Archive> void serialize(Archive &, unsigned);