Class for approximate comparisons. More...
#include <cmath>
#include <utility>
Go to the source code of this file.
Classes | |
struct | lar::util::RealComparisons< RealType > |
Provides simple real number checks. More... | |
struct | lar::util::Vector2DComparison< RealType > |
Class comparing 2D vectors. More... | |
struct | lar::util::Vector3DComparison< RealType > |
Class comparing 2D vectors. More... | |
Namespaces | |
lar | |
LArSoft-specific namespace. | |
lar::util | |
LArSoft utility namespace. | |
Functions | |
template<typename RealType > | |
auto | lar::util::makeVector2DComparison (RealType threshold) |
Creates a Vector2DComparison from a RealComparisons object. More... | |
template<typename RealType > | |
auto | lar::util::makeVector2DComparison (lar::util::RealComparisons< RealType > const &comp) |
Creates a Vector2DComparison from a RealComparisons object. More... | |
template<typename RealType > | |
auto | lar::util::makeVector3DComparison (RealType threshold) |
Creates a Vector3DComparison from a RealComparisons object. More... | |
template<typename RealType > | |
auto | lar::util::makeVector3DComparison (lar::util::RealComparisons< RealType > const &comp) |
Creates a Vector3DComparison from a RealComparisons object. More... | |
Class for approximate comparisons.
This is a header-only library.
Definition in file RealComparisons.h.