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

Some useful basic math stuff. More...

Go to the source code of this file.

Classes

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

namespace  Dune
 Dune namespace.

Functions

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

Detailed Description

Some useful basic math stuff.