| Home | Libraries | People | FAQ | More

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