Vowpal Wabbit
|
Functions | |
template<typename T > | |
bool | are_same (T lhs, T rhs, T tolerance=DEFAULT_TOLERANCE) |
template<typename T > | |
bool | are_same_rel (T lhs, T rhs, T tolerance=DEFAULT_TOLERANCE) |
VW_STD14_CONSTEXPR int64_t | factorial (int64_t n) noexcept |
int64_t | number_of_combinations_with_repetition (int64_t n, int64_t k) |
Both n and k must be non-zero. More... | |
int64_t | number_of_permutations_with_repetition (int64_t n, int64_t k) |
constexpr float | sign (float w) noexcept |
VW_STD14_CONSTEXPR int64_t | choose (int64_t n, int64_t k) noexcept |
C(n,k) = n!/(k!(n-k)!) More... | |
Variables | |
constexpr float | DEFAULT_FLOAT_TOLERANCE = static_cast<float>(DEFAULT_TOLERANCE) |
bool VW::math::are_same | ( | T | lhs, |
T | rhs, | ||
T | tolerance = DEFAULT_TOLERANCE |
||
) |
bool VW::math::are_same_rel | ( | T | lhs, |
T | rhs, | ||
T | tolerance = DEFAULT_TOLERANCE |
||
) |
|
inlinenoexcept |
C(n,k) = n!/(k!(n-k)!)
|
inlinenoexcept |
|
inline |
Both n and k must be non-zero.
|
inline |
|
inlinenoexcept |
constexpr float VW::math::DEFAULT_FLOAT_TOLERANCE = static_cast<float>(DEFAULT_TOLERANCE) |