xerus
a general purpose tensor library
|
Limit extraction using the richardson extrapolation. More...
#include <simpleNumerics.h>
Public Member Functions | |
virtual | ~RichardsonExtrapolation () |
ft_type | best_estimate () const override |
ft_type | error_approximate () const override |
void | push_back (ft_type _val) override |
void | reset () override |
Public Member Functions inherited from xerus::misc::LimitExtractor< ft_type > | |
virtual | ~LimitExtractor () |
Static Public Member Functions | |
static ft_type | richard (size_t n, ft_type x1, ft_type x2) |
Public Attributes | |
std::vector< ft_type > | values |
Static Public Attributes | |
static constexpr ft_type | epsilon = std::numeric_limits<ft_type>::epsilon() |
Limit extraction using the richardson extrapolation.
Can be derived by assuming that \( x_inf - x_n = alpha * n^(-1)\) .
Definition at line 132 of file simpleNumerics.h.
|
inlinevirtual |
Definition at line 148 of file simpleNumerics.h.
|
overridevirtual |
Implements xerus::misc::LimitExtractor< ft_type >.
Definition at line 319 of file simpleNumerics.cpp.
|
overridevirtual |
Implements xerus::misc::LimitExtractor< ft_type >.
Definition at line 328 of file simpleNumerics.cpp.
|
overridevirtual |
Implements xerus::misc::LimitExtractor< ft_type >.
Definition at line 311 of file simpleNumerics.cpp.
|
overridevirtual |
Implements xerus::misc::LimitExtractor< ft_type >.
Definition at line 336 of file simpleNumerics.cpp.
|
static |
Definition at line 306 of file simpleNumerics.cpp.
|
static |
Definition at line 134 of file simpleNumerics.h.
std::vector<ft_type> xerus::misc::RichardsonExtrapolation< ft_type >::values |
Definition at line 136 of file simpleNumerics.h.