Chebyshev
Unit testing for scientific software
|
Default precision estimators. More...
#include <functional>
#include <cmath>
#include "../core/common.h"
#include "../core/random.h"
#include "./prec_structures.h"
Go to the source code of this file.
Namespaces | |
chebyshev | |
General namespace of the framework. | |
chebyshev::prec | |
Precision testing module. | |
chebyshev::prec::estimator | |
Precision estimators. | |
Functions | |
template<typename FloatType = double> | |
auto | chebyshev::prec::estimator::quadrature1D () |
Use Simpson's quadrature scheme to approximate error integrals for univariate real functions (endofunctions on real number types). More... | |
template<typename IntType = int, typename ReturnType = IntType> | |
auto | chebyshev::prec::estimator::discrete1D () |
Use a discrete estimator over a lattice of points, here implemented in one dimension, to compute error sums over a discrete domain. More... | |
template<typename FloatType = double> | |
auto | chebyshev::prec::estimator::montecarlo1D () |
Use crude Monte Carlo integration to approximate error integrals for univariate real functions. More... | |
template<typename FloatType = double, typename Vector = std::vector<FloatType>> | |
auto | chebyshev::prec::estimator::montecarlo (unsigned int dimensions) |
Use crude Monte Carlo integration to approximate error integrals for multivariate real functions. More... | |
Default precision estimators.