libstdc++
std::tr1::__detail::__numeric_constants< _Tp > Struct Template Reference

Static Public Member Functions

static _Tp __1_pi () throw ()
 
static _Tp __2_sqrtpi () throw ()
 
static _Tp __euler () throw ()
 
static _Tp __gamma_e () throw ()
 
static _Tp __lnpi () throw ()
 
static _Tp __pi () throw ()
 
static _Tp __pi_2 () throw ()
 
static _Tp __pi_3 () throw ()
 
static _Tp __pi_4 () throw ()
 
static _Tp __sqrt1_2 () throw ()
 
static _Tp __sqrt2 () throw ()
 
static _Tp __sqrt3 () throw ()
 
static _Tp __sqrtpio2 () throw ()
 

Detailed Description

template<typename _Tp>
struct std::tr1::__detail::__numeric_constants< _Tp >

A structure for numeric constants.

Definition at line 60 of file special_function_util.h.

Member Function Documentation

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__1_pi ( )
throw (
)
inlinestatic

Constant $ 1 / \pi $.

Definition at line 75 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__2_sqrtpi ( )
throw (
)
inlinestatic

Constant $ 2 / \sqrt(\pi) $.

Definition at line 78 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__euler ( )
throw (
)
inlinestatic

Constant Euler-Mascheroni $ e $.

Definition at line 99 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__gamma_e ( )
throw (
)
inlinestatic

Constant Euler's constant $ \gamma_E $.

Definition at line 96 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__lnpi ( )
throw (
)
inlinestatic

Constant $ \log(\pi) $.

Definition at line 93 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi ( )
throw (
)
inlinestatic

Constant $ \pi $.

Definition at line 63 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi_2 ( )
throw (
)
inlinestatic

Constant $ \pi / 2 $.

Definition at line 66 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi_3 ( )
throw (
)
inlinestatic

Constant $ \pi / 3 $.

Definition at line 69 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi_4 ( )
throw (
)
inlinestatic

Constant $ \pi / 4 $.

Definition at line 72 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrt1_2 ( )
throw (
)
inlinestatic

Constant $ 1 / sqrt(2) $.

Definition at line 90 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrt2 ( )
throw (
)
inlinestatic

Constant $ \sqrt(2) $.

Definition at line 81 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrt3 ( )
throw (
)
inlinestatic

Constant $ \sqrt(3) $.

Definition at line 84 of file special_function_util.h.

template<typename _Tp >
static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrtpio2 ( )
throw (
)
inlinestatic

Constant $ \sqrt(\pi/2) $.

Definition at line 87 of file special_function_util.h.


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