Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
pow.hpp File Reference

Raise values to exponents known at compile-time. More...

#include <boost/math_fwd.hpp>
#include <boost/type_traits/is_integral.hpp>
#include <boost/units/operators.hpp>
#include <boost/units/static_rational.hpp>
#include <boost/units/detail/static_rational_power.hpp>
Include dependency graph for pow.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::units::power_typeof_helper< T, static_rational< N, D > >
 raise T to a static_rational power. More...
 
struct  boost::units::power_typeof_helper< float, static_rational< N, D > >
 raise float to a static_rational power. More...
 
struct  boost::units::root_typeof_helper< T, static_rational< N, D > >
 take static_rational root of an T More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::units
 

Functions

template<class Rat , class Y >
power_typeof_helper< Y, Rat >::type boost::units::pow (const Y &x)
 raise a value to a static_rational power. More...
 
template<long N, class Y >
power_typeof_helper< Y,
static_rational< N > >::type 
boost::units::pow (const Y &x)
 raise a value to an integer power. More...
 
template<class Rat , class Y >
root_typeof_helper< Y, Rat >::type boost::units::root (const Y &x)
 take the static_rational root of a value. More...
 
template<long N, class Y >
root_typeof_helper< Y,
static_rational< N > >::type 
boost::units::root (const Y &x)
 take the integer root of a value. More...
 

Detailed Description

Raise values to exponents known at compile-time.