CVR-Lib last update 20 Sep 2009

cvr::constants< T > Class Template Reference

This class is a container of some mathematical and physical constants as static member functions. More...

#include <cvrConstants.h>

List of all members.

Static Public Member Functions

static const T pi () throw ()
static const T twoPi () throw ()
static const T halfPi () throw ()
static const T e () throw ()
static const T sqrt2 () throw ()


Detailed Description

template<class T>
class cvr::constants< T >

This class is a container of some mathematical and physical constants as static member functions.

Example:

 constants<float>::pi();

Member Function Documentation

template<class T >
static const T cvr::constants< T >::e (  )  throw () [inline, static]

e (basis of natural logarithm) = 2.7182818284590452353602874713526.

..

template<class T >
static const T cvr::constants< T >::halfPi (  )  throw () [inline, static]

Half Pi (pi()/2).

template<class T >
static const T cvr::constants< T >::pi (  )  throw () [inline, static]

Pi.

template<class T >
static const T cvr::constants< T >::sqrt2 (  )  throw () [inline, static]

square root of 2 = 1.4142135623730950488016887242097.

..

template<class T >
static const T cvr::constants< T >::twoPi (  )  throw () [inline, static]

Twice Pi (2*pi()).


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

Generated on Sun Sep 20 22:08:56 2009 for CVR-Lib by Doxygen 1.5.8