Chebyshev
Unit testing for scientific software
|
Structure holding options for equivalence evaluation. More...
#include <prec_structures.h>
Public Member Functions | |
equation_options () | |
Default constructor for equation options. | |
equation_options (long double tolerance) | |
Construct equation options from the tolerance, setting the distance function to a simple Euclidean distance. | |
equation_options (long double tolerance, DistanceFunction< T > dist, bool quiet=false) | |
Construct equation options from the tolerance, the distance function and the quiet flag (defaults to false). | |
Public Attributes | |
long double | tolerance = CHEBYSHEV_PREC_TOLERANCE |
Tolerance on the absolute difference. | |
DistanceFunction< T > | distance |
Distance function to measure the distance between the expected and evaluated value. More... | |
bool | quiet = false |
Print to standard output or not. | |
Structure holding options for equivalence evaluation.
DistanceFunction<T> chebyshev::prec::equation_options< T >::distance |
Distance function to measure the distance between the expected and evaluated value.