Chebyshev
Unit testing for scientific software
prec_structures.h File Reference

Structures for precision testing. More...

#include <string>
#include <vector>
#include <functional>
#include "../core/common.h"
#include "./interval.h"
#include "./distance.h"

Go to the source code of this file.

Classes

class  chebyshev::prec::estimate_result
 A structure holding the result of precision estimation. More...
 
class  chebyshev::prec::estimate_options< R, Args >
 A structure holding the options for precision estimation. More...
 
class  chebyshev::prec::equation_result
 A structure holding the result of an evaluation. More...
 
class  chebyshev::prec::equation_options< T >
 Structure holding options for equivalence evaluation. More...
 

Namespaces

 chebyshev
 General namespace of the framework.
 
 chebyshev::prec
 Precision testing module.
 

Typedefs

using chebyshev::prec::FailFunction = std::function< bool(const estimate_result &)>
 A function which determines whether an estimation failed.
 
template<typename Type >
using chebyshev::prec::DistanceFunction = std::function< long double(Type, Type)>
 Distance function between two elements.
 
template<typename R , typename ... Args>
using chebyshev::prec::Estimator = typename estimate_options< R, Args... >::Estimator_t
 Generic precision estimator function signature.
 

Detailed Description

Structures for precision testing.