5.1.3.2. numdifftools.extrapolation.Dea¶
-
class
Dea
(limexp=3)[source]¶ Extrapolate a slowly convergent sequence
LIMEXP is the maximum number of elements the epsilon table data can contain. The epsilon table is stored in the first (LIMEXP+2) entries of EPSTAB.
Notes
List of major variables:
- E0,E1,E2,E3 - DOUBLE PRECISION
- The 4 elements on which the computation of a new element in the epsilon table is based.
- NRES - INTEGER
- Number of extrapolation results actually generated by the epsilon algorithm in prior calls to the routine.
- NEWELM - INTEGER
- Number of elements to be computed in the new diagonal of the epsilon table. The condensed epsilon table is computed. Only those elements needed for the computation of the next diagonal are preserved.
- RES - DOUBLE PREISION
- New element in the new diagonal of the epsilon table.
- ERROR - DOUBLE PRECISION
- An estimate of the absolute error of RES. Routine decides whether RESULT=RES or RESULT=SVALUE by comparing ERROR with abserr from the previous call.
- RES3LA - DOUBLE PREISION
- Vector of DIMENSION 3 containing at most the last 3 results.
Methods
__init__
([limexp])Initialize self. Attributes
limexp