|
tfel
|
an implementation of the Aitken \(\Delta^{2}\) algorithm More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/AccelerationAlgorithms/AitkenAccelerationAlgorithm.hxx>
Public Member Functions | |
| void | initialize (const NumericType) |
| this method shall be called before starting a new resolution | |
| void | accelerate (NumericType &) |
| perform the acceleration | |
an implementation of the Aitken \(\Delta^{2}\) algorithm
| NumericType | numeric type used |
| IndexType | integer used to store the iteration number |
| void tfel::math::AitkenAccelerationAlgorithm< NumericType, IndexType >::accelerate | ( | NumericType & | x | ) |
perform the acceleration
| [in,out] | x | on input, the result of the Picard iteration. On output, an accelerated estimate. |
| void tfel::math::AitkenAccelerationAlgorithm< NumericType, IndexType >::initialize | ( | const NumericType | x | ) |
this method shall be called before starting a new resolution
| [in] | x0 | initial guess |