55# define M_LOG2E 1.4426950408889634074
59# define M_PI 3.14159265358979323846
63# define M_LN2 0.69314718055994530942
66#ifndef GUM_LOG_SQRT_2PI
67# define GUM_LOG_SQRT_2PI .91893853320467274177
70#define GUM_LOG2_OR_0(x) ((x == 0.0) ? 0.0 : std::log2((x)))
74 template <
typename T >
77 template <
typename T >
80 template <
typename T >
gum is the global namespace for all aGrUM entities
bool isCloseToZero(T x, T tol=T(1e-9))
bool isCloseToOne(T x, T tol=T(1e-9))