6#ifndef CHEBYSHEV_FAIL_H
7#define CHEBYSHEV_FAIL_H
36 return (r.maxErr > r.tolerance) || (r.maxErr != r.maxErr);
45 return (r.meanErr > r.tolerance) || (r.meanErr != r.meanErr);
54 return (r.rmsErr > r.tolerance) || (r.rmsErr != r.rmsErr);
63 return (r.relErr > r.tolerance) || (r.relErr != r.relErr);
Fail functions for use in prec::estimate.
auto fail_on_mean_err()
Marks the test as failed if the mean error on the domain is bigger than the tolerance or the error is...
Definition fail.h:43
auto passthrough()
Passthrough fail function which marks all tests as passed (not failed).
Definition fail.h:25
auto fail_on_rel_err()
Marks the test as failed if the relative error on the domain is bigger than the tolerance or the erro...
Definition fail.h:61
auto fail_on_max_err()
Default fail function which marks the test as failed if the maximum error on the domain is bigger tha...
Definition fail.h:34
auto fail_on_rms_err()
Marks the test as failed if the RMS error on the domain is bigger than the tolerance or the error is ...
Definition fail.h:52
General namespace of the framework.
Definition benchmark.h:22
Structures for precision testing.
A structure holding the result of precision estimation.
Definition prec_structures.h:25