23 template<
class Field >
42 static const T
e = exp( T( 1 ) );
49 static const T
pi = acos( T( -1 ) );
60 struct MathematicalConstants< float >
61 :
public StandardMathematicalConstants< float >
70 struct MathematicalConstants< double >
71 :
public StandardMathematicalConstants< double >
80 struct MathematicalConstants< long double >
81 :
public StandardMathematicalConstants< long double >
115 return std::complex<K>(c.real(),-c.imag());
123 return (val < 0 ? -1 : 1);
128 #endif // #ifndef DUNE_MATH_HH