![]() |
aGrUM 3.3.2
a C++ library for (probabilistic) graphical models
|
#include <agrum/base/core/math/math_utils.h>Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
Functions | |
| template<typename T> | |
| bool | gum::isCloseToZero (T x, T tol=static_cast< T >(config().epsilonFine())) |
| Is |x| <= tol ? By default, tol is the key core.epsilonFine of the configuration. | |
| template<typename T> | |
| bool | gum::isCloseToOne (T x, T tol=static_cast< T >(config().epsilonFine())) |
| Is |x - 1| <= tol ? By default, tol is the key core.epsilonFine of the configuration. | |
| template<typename T> | |
| bool | gum::isfinite (T arg) |