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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Struct sqrt

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

Synopsis

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

Description

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

PrevUpHomeNext