dune-common  2.2.0
Static Public Member Functions
Dune::StandardMathematicalConstants< T > Struct Template Reference

Standard implementation of MathematicalConstants. More...

#include <dune/common/math.hh>

List of all members.

Static Public Member Functions

static T e ()
static T pi ()

Detailed Description

template<class T>
struct Dune::StandardMathematicalConstants< T >

Standard implementation of MathematicalConstants.

This implementation will work with all built-in floating point types. It provides

e as std::exp(1.0) pi as std::acos(-1.0)


Member Function Documentation

template<class T >
static T Dune::StandardMathematicalConstants< T >::e ( ) [inline, static]
template<class T >
static T Dune::StandardMathematicalConstants< T >::pi ( ) [inline, static]

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