|
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 (prec_t tolerance) | |
| Construct equation options from the tolerance, setting the distance function to a simple Euclidean distance. | |
| equation_options (prec_t 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 | |
| prec_t | tolerance = CHEBYSHEV_PREC_TOLERANCE |
| Tolerance on the absolute difference. | |
| DistanceFunction< T > | distance |
| Distance function to measure the distance between the expected and evaluated value. | |
| 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.