constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
bool approxEquals(T a, T b, T tolerance=std::numeric_limits< T >::epsilon())
Compare two doubles, using tolerance for inaccuracies.
Definition FloatingPoint.hpp:17
bool nearZero(T a, T tolerance=T(1e-8))
Return true iff a is almost zero.
Definition FloatingPoint.hpp:20