Chebyshev
Unit testing for scientific software
|
Common definitions for the framework. More...
Go to the source code of this file.
Namespaces | |
namespace | chebyshev |
General namespace of the framework. | |
Typedefs | |
using | real_t = double |
Floating-point type, used as default for function arguments. | |
using | prec_t = long double |
Floating-point type of higher precision, used in computations, such as error estimation. | |
template<typename Type = double> | |
using | chebyshev::EndoFunction = std::function< Type(Type)> |
An endofunction is a function which has the same type of input and output, such as a real function of real variable \(f: \mathbb{R} \rightarrow \mathbb{R}\). | |
Functions | |
template<typename FloatType = long double> | |
constexpr FloatType | chebyshev::get_nan () |
Get a quiet NaN of the specified floating point type. | |
Variables | |
const long double | chebyshev::PI_CONST = 3.141592653589793238462643L |
The Pi mathematical constant. | |
Common definitions for the framework.