|
PARTONS
|
PARtonic Tomography Of Nucleon Software
|
![]() |
Set of utility tools to perform comparisons. More...
Static Public Member Functions | |
| static ComparisonData | compareDouble (const std::string &variableName, const double lhs, const double rhs, const NumA::Tolerances &tolerances, const std::string &parentObjectInfo) |
| Compare two double precision numbers. More... | |
| static ComparisonData | compareComplex (const std::string &variableName, const std::complex< double > lhs, const std::complex< double > rhs, const NumA::Tolerances &tolerances, const std::string &parentObjectInfo) |
| Compare two complex double precision numbers. More... | |
Set of utility tools to perform comparisons.
This class defines a set of useful tools to perform systematic comparisons between module results.
|
static |
Compare two complex double precision numbers.
| variableName | Name of variable. |
| lhs | Left-hand-size value. |
| rhs | Right-hand-side value. |
| tolerances | Tolerance assumed in the comparison. |
| parentObjectInfo | Information on object being compared. |
|
static |
Compare two double precision numbers.
| variableName | Name of variable. |
| lhs | Left-hand-size value. |
| rhs | Right-hand-side value. |
| tolerances | Tolerance assumed in the comparison. |
| parentObjectInfo | Information on object being compared. |