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 sqrt

boost::histogram::axis::transform::sqrt — Sqrt transform for equidistant bins in sqrt-space.


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

struct sqrt {

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


sqrt public static functions

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

sqrt public member functions

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