Skip to main content

Module fixed_point

Module fixed_point 

Source
Expand description

Fixed points x = g(x) by iteration accelerated with Steffensen’s (Aitken’s Δ²) method (SciPy’s optimize.fixed_point).

See the book entry Halley’s method and fixed points.

Enums§

FixedPointMethod
How fixed_point steps.

Functions§

fixed_point
Finds a fixed point of g from x0 (SciPy’s fixed_point). With FixedPointMethod::Del2 each step takes p₁ = g(p₀), p₂ = g(p₁) and extrapolates p = p₀ − (p₁ − p₀)²/(p₂ − 2p₁ + p₀) (or p₂ when the denominator vanishes), which converges quadratically even where plain iteration converges linearly — or not at all. Stops when the relative change |p/p₀ − 1| (|p| at p₀ = 0) is below xtol (SciPy: 10⁻⁸); errors after maxiter steps (SciPy: 500).