All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
NumericTools.cpp File Reference
#include "NumericTools.h"
#include <cmath>
#include <algorithm>

Namespaces

 Aux
 
 Aux::NumericTools
 Tools to deal with limited precision in numeric computations.
 

Functions

bool Aux::NumericTools::equal (double x, double y, double error=acceptableError)
 Test doubles for equality within a given error. More...
 
bool Aux::NumericTools::le (double x, double y, double error=acceptableError)
 Test doubles for equality within a given error. More...
 
bool Aux::NumericTools::ge (double x, double y, double error=acceptableError)
 Test doubles for equality within a given error. More...
 
bool Aux::NumericTools::logically_equal (double a, double b, double error_factor=1.0)
 Test doubles for equality within the smallest possible error. More...