|
| template<class Mantissa , class Exponent > |
| constexpr Mantissa | Dune::power (Mantissa m, Exponent p) |
| | Power method for integer exponents. More...
|
| |
| template<class T > |
| constexpr static T | Dune::factorial (const T &n) noexcept |
| | calculate the factorial of n as a constexpr More...
|
| |
| template<class T , T n> |
| constexpr static auto | Dune::factorial (std::integral_constant< T, n >) noexcept |
| | calculate the factorial of n as a constexpr More...
|
| |
| template<class T > |
| constexpr static T | Dune::binomial (const T &n, const T &k) noexcept |
| | calculate the binomial coefficient n over k as a constexpr More...
|
| |
| template<class T , T n, T k> |
| constexpr static auto | Dune::binomial (std::integral_constant< T, n >, std::integral_constant< T, k >) noexcept |
| | calculate the binomial coefficient n over k as a constexpr More...
|
| |
| template<class T , T n> |
| constexpr static auto | Dune::binomial (std::integral_constant< T, n >, std::integral_constant< T, n >) noexcept |
| |
| template<class K > |
| 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...
|
| |
| | Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION (isNaN, isnan) |
| |
| | Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION (isInf, isinf) |
| |
| | Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION (isFinite, isfinite) |
| |
| template<class T > |
| auto | Dune::MathOverloads::isUnordered (const T &t1, const T &t2, PriorityTag< 1 >, ADLTag) -> decltype(isUnordered(t1, t2)) |
| |
| template<class T > |
| auto | Dune::MathOverloads::isUnordered (const T &t1, const T &t2, PriorityTag< 0 >, ADLTag) |
| |
| | Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR (isNaN) |
| |
| | Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR (isInf) |
| |
| | Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR (isFinite) |
| |
| template<class T , class = std::enable_if_t<Impl::isComplexLike<T>::value>> |
| auto | Dune::MathOverloads::isNaN (const T &t, PriorityTag< 2 >, ADLTag) |
| |
| template<class T , class = std::enable_if_t<Impl::isComplexLike<T>::value>> |
| auto | Dune::MathOverloads::isInf (const T &t, PriorityTag< 2 >, ADLTag) |
| |
| template<class T , class = std::enable_if_t<Impl::isComplexLike<T>::value>> |
| auto | Dune::MathOverloads::isFinite (const T &t, PriorityTag< 2 >, ADLTag) |
| |
Some useful basic math stuff.