|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|


Go to the source code of this file.
Classes | |
| class | scalar_t |
Macros | |
| #define | DEFINE_MATH_FUNCTION(func) |
Functions | |
| template<class T > | |
| std::enable_if_t< not std::numeric_limits< T >::is_integer, bool > | fpeq (T, T, std::size_t n=10) |
| Compares two floating point numbers with a given precision. | |
| scalar_t | pow (const scalar_t &base, const scalar_t &exp) |
| scalar_t | pow (const scalar_t &base, double exp) |
| template<typename T > requires std::is_integral_v<T> | |
| scalar_t | pow (const scalar_t &base, T exp) |
| double | real (const scalar_t &z) |
| double | imag (const scalar_t &z) |
| #define DEFINE_MATH_FUNCTION | ( | func | ) |
| std::enable_if_t< not std::numeric_limits< T >::is_integer, bool > fpeq | ( | T | x, |
| T | y, | ||
| std::size_t | n | ||
| ) |
Compares two floating point numbers with a given precision.
| T | Floating point type. |
| x | First number. |
| y | Second number. |
| n | Number of machine epsilons allowed. |
Definition at line 107 of file special_generic.h.
| double imag | ( | const scalar_t & | z | ) |
Definition at line 87 of file scalar.cpp.
Definition at line 75 of file scalar.cpp.
Definition at line 79 of file scalar.cpp.
| double real | ( | const scalar_t & | z | ) |
Definition at line 83 of file scalar.cpp.