|
preCICE v3.3.0
|
Go to the source code of this file.
Namespaces | |
| namespace | precice |
| Main namespace of the precice library. | |
| namespace | precice::math |
| provides general mathematical constants and functions. | |
Functions | |
| int | precice::math::sign (double number) |
| Return the sign, one of {-1, 0, 1}. | |
| template<int iexp, typename T> | |
| constexpr T | precice::math::pow_int (const T x) |
| Computes the power of a given number by an integral exponent given at compile time, which is much faster than std::pow(x, iexp) | |