Rosetta Utilities  2015.09
Public Types | Static Public Member Functions | List of all members
numeric::NumericTraits< T > Struct Template Reference

NumericTraits: Numeric type traits. More...

#include <NumericTraits.hh>

Public Types

typedefType
 

Static Public Member Functions

static Type zero ()
 Zero. More...
 
static Type one ()
 One. More...
 
static Type two ()
 Two. More...
 
static Type pi ()
 pi More...
 
static Type pi_2 ()
 2*pi More...
 
static Type pi_over_2 ()
 pi/2 More...
 
static Type pi_over_3 ()
 pi/3 More...
 
static Type pi_over_4 ()
 pi/4 More...
 
static Type pi_2_over_3 ()
 (2*pi)/3 More...
 
static Type pi_3_over_4 ()
 (3*pi)/4 More...
 
static Type pi_over_180 ()
 pi/180 More...
 
static Type degrees_to_radians ()
 pi/180 More...
 
static Type deg2rad ()
 pi/180 More...
 
static Type radians_to_degrees ()
 180/pi More...
 
static Type rad2deg ()
 180/pi More...
 

Detailed Description

template<typename T>
struct numeric::NumericTraits< T >

NumericTraits: Numeric type traits.

Member Typedef Documentation

template<typename T >
typedef T numeric::NumericTraits< T >::Type

Member Function Documentation

template<typename T >
static Type numeric::NumericTraits< T >::deg2rad ( )
inlinestatic

pi/180

template<typename T >
static Type numeric::NumericTraits< T >::degrees_to_radians ( )
inlinestatic
template<typename T >
static Type numeric::NumericTraits< T >::one ( )
inlinestatic

One.

template<typename T >
static Type numeric::NumericTraits< T >::pi ( )
inlinestatic
template<typename T >
static Type numeric::NumericTraits< T >::pi_2 ( )
inlinestatic
template<typename T >
static Type numeric::NumericTraits< T >::pi_2_over_3 ( )
inlinestatic

(2*pi)/3

template<typename T >
static Type numeric::NumericTraits< T >::pi_3_over_4 ( )
inlinestatic

(3*pi)/4

template<typename T >
static Type numeric::NumericTraits< T >::pi_over_180 ( )
inlinestatic

pi/180

template<typename T >
static Type numeric::NumericTraits< T >::pi_over_2 ( )
inlinestatic

pi/2

template<typename T >
static Type numeric::NumericTraits< T >::pi_over_3 ( )
inlinestatic

pi/3

template<typename T >
static Type numeric::NumericTraits< T >::pi_over_4 ( )
inlinestatic

pi/4

template<typename T >
static Type numeric::NumericTraits< T >::rad2deg ( )
inlinestatic

180/pi

template<typename T >
static Type numeric::NumericTraits< T >::radians_to_degrees ( )
inlinestatic
template<typename T >
static Type numeric::NumericTraits< T >::two ( )
inlinestatic

Two.

template<typename T >
static Type numeric::NumericTraits< T >::zero ( )
inlinestatic

Zero.


The documentation for this struct was generated from the following file: