|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
Go to the source code of this file.
Namespaces | |
| namespace | ppforest2 |
| namespace | ppforest2::math |
| Numeric comparison utilities. | |
Macros | |
| #define | APPROX_THRESHOLD 0.01 |
Functions | |
| template<typename T> | |
| bool | ppforest2::math::collinear (types::Vector< T > const &a, types::Vector< T > const &b) |
| Check whether two vectors are collinear (parallel or anti-parallel). | |
| template<typename A, typename B> | |
| bool | ppforest2::math::is_approx (A a, B b) |
| Overload using the default APPROX_THRESHOLD. | |
| template<typename A, typename B, typename T> | |
| bool | ppforest2::math::is_approx (A a, B b, T threshold) |
| Check whether two scalars are approximately equal. | |
| template<typename A, typename B> | |
| bool | ppforest2::math::is_module_approx (A a, B b) |
| Check whether the absolute values of two scalars are approximately equal. | |
| #define APPROX_THRESHOLD 0.01 |