xerus
a general purpose tensor library
|
Limit extraction using the shanks transformation aka Aitken process. More...
#include <simpleNumerics.h>
Public Member Functions | |
virtual | ~ShanksTransformation () |
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 | shanks (ft_type x1, ft_type x2, ft_type x3) |
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 shanks transformation aka Aitken process.
Can be derived by assuming the sequence to go as \( x_n = x_inf + alpha * q^n \) for large \( n \).
Definition at line 106 of file simpleNumerics.h.
|
inlinevirtual |
Definition at line 122 of file simpleNumerics.h.
|
overridevirtual |
Implements xerus::misc::LimitExtractor< ft_type >.
Definition at line 275 of file simpleNumerics.cpp.
|
overridevirtual |
Implements xerus::misc::LimitExtractor< ft_type >.
Definition at line 284 of file simpleNumerics.cpp.
|
overridevirtual |
Implements xerus::misc::LimitExtractor< ft_type >.
Definition at line 267 of file simpleNumerics.cpp.
|
overridevirtual |
Implements xerus::misc::LimitExtractor< ft_type >.
Definition at line 293 of file simpleNumerics.cpp.
|
static |
Definition at line 258 of file simpleNumerics.cpp.
|
static |
Definition at line 108 of file simpleNumerics.h.
std::vector<ft_type> xerus::misc::ShanksTransformation< ft_type >::values |
Definition at line 110 of file simpleNumerics.h.