DUNE PDELab (2.8)

Dune::StandardMathematicalConstants< T > Struct Template Reference

Standard implementation of MathematicalConstants. More...

#include <dune/common/math.hh>

Static Public Member Functions

static const T e ()
 Euler's number.
 
static const T pi ()
 Archimedes' constant.
 

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 exp(1.0) pi as acos(-1.0)


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)