|
| template<class DerivedA, class DerivedB> |
| constexpr bool | equals (const Eigen::MatrixBase< DerivedA > &A, const Eigen::MatrixBase< DerivedB > &B, double tolerance=NUMERICAL_ZERO_DIFFERENCE) |
| | Compares two Eigen::MatrixBase for equality up to tolerance.
|
| bool | equals (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept |
| | Compares two scalar (arithmetic) types.
|
| bool | isZero (double a, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept |
| bool | greater (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept |
| bool | greaterEquals (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept |
| bool | smaller (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept |
| bool | smallerEquals (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept |
| template<typename DerivedA, typename DerivedB> |
| void | sumSubvectors (const Eigen::MatrixBase< DerivedA > &vector, Eigen::MatrixBase< DerivedB > &result) |
| | Sums up the components of subvectors in vector into result.
|
| int | sign (double number) |
| | Return the sign, one of {-1, 0, 1}.
|
| template<int iexp, typename T> |
| constexpr T | pow_int (const T base) |
| | Computes the power of a given number by an integral exponent given at compile time, which is much faster than std::pow(x, iexp).
|
provides general mathematical constants and functions.
template<int iexp, typename T>
| T precice::math::pow_int |
( |
const T | base | ) |
|
|
inlineconstexpr |
Computes the power of a given number by an integral exponent given at compile time, which is much faster than std::pow(x, iexp).
Definition at line 22 of file math.hpp.