Chebyshev
Unit testing for scientific software
chebyshev Namespace Reference

General namespace of the framework. More...

Namespaces

 benchmark
 Benchmark module.
 
 err
 Error checking module.
 
 output
 Functions to manage printing results.
 
 prec
 Precision testing module.
 
 random
 Pseudorandom number generation and sampling module.
 

Typedefs

template<typename Type = double>
using EndoFunction = std::function< Type(Type)>
 An endofunction is a function which has the same type of input and output (e.g. More...
 

Functions

template<typename FloatType = long double>
constexpr FloatType get_nan ()
 Get a quiet NaN of the specified floating point type.
 

Variables

const long double PI_CONST = 3.141592653589793238462643L
 The Pi mathematical constant.
 

Detailed Description

General namespace of the framework.

Typedef Documentation

◆ EndoFunction

template<typename Type = double>
using chebyshev::EndoFunction = typedef std::function<Type(Type)>

An endofunction is a function which has the same type of input and output (e.g.

a real function of real variable).