dune-common  2.5.0
Classes | Namespaces | Functions
math.hh File Reference

Some useful basic math stuff. More...

#include <cmath>
#include <complex>

Go to the source code of this file.

Classes

struct  Dune::MathematicalConstants< Field >
 Provides commonly used mathematical constants. More...
 
struct  Dune::StandardMathematicalConstants< T >
 Standard implementation of MathematicalConstants. More...
 
struct  Dune::Factorial< m >
 Calculates the factorial of m at compile time. More...
 
struct  Dune::Factorial< 0 >
 end of recursion of factorial via specialization More...
 

Namespaces

 Dune
 Dune namespace.
 

Functions

template<class K >
Dune::conjugateComplex (const K &x)
 compute conjugate complex of x More...
 
template<class T >
int Dune::sign (const T &val)
 Return the sign of the value. More...
 

Detailed Description

Some useful basic math stuff.