xerus
a general purpose tensor library
|
Header file for several elementary numerical methods: polynomials, romberg integration and limit extractors. More...
#include "standard.h"
#include <vector>
#include <limits>
#include <functional>
#include <boost/math/tools/polynomial.hpp>
Go to the source code of this file.
Classes | |
class | xerus::misc::LimitExtractor< ft_type > |
Classes that can extract an estimate of the limit of a sequence. More... | |
class | xerus::misc::RichardsonExtrapolation< ft_type > |
Limit extraction using the richardson extrapolation. More... | |
class | xerus::misc::ShanksTransformation< ft_type > |
Limit extraction using the shanks transformation aka Aitken process. More... | |
Namespaces | |
xerus | |
The main namespace of xerus. | |
xerus::misc | |
Collection of classes and functions that provide elementary functionality that is not special to xerus as a tensor library. | |
Functions | |
template<class T > | |
xerus::misc::__attribute__ ((const)) T difference(T _a | |
double | xerus::misc::find_root_bisection (const std::function< double(double)> &_f, double _min, double _max, double _epsilon=1e-14) |
double | xerus::misc::integrate (const std::function< double(double)> &_f, double _a, double _b, double _eps=std::numeric_limits< double >::epsilon(), uint _minIter=4, uint _maxIter=6, uint _branchFactor=7, uint _maxRecursion=10, bool _relativeError=true) |
Performs a Romberg Integration (richardson extrapolation of regular riemannian sum) + adaptive refinement. More... | |
double | xerus::misc::integrate_segmented (const std::function< double(double)> &_f, double _a, double _b, double _segmentation, double _eps=1e-8, uint _minIter=4, uint _maxIter=6, uint _branchFactor=8, uint _maxRecursion=10) |
Variables | |
T | xerus::misc::_b |
Header file for several elementary numerical methods: polynomials, romberg integration and limit extractors.
Definition in file simpleNumerics.h.