dune-common 3.0-git
Static Public Member Functions | List of all members
Dune::StandardMathematicalConstants< T > Struct Template Reference

Standard implementation of MathematicalConstants. More...

#include <dune/common/math.hh>

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

◆ e()

template<class T >
static T Dune::StandardMathematicalConstants< T >::e ( )
inlinestatic

◆ pi()

template<class T >
static T Dune::StandardMathematicalConstants< T >::pi ( )
inlinestatic

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