Expand description
Halley’s method (SciPy’s newton given fprime2), cubically convergent with the second
derivative.
See the book entry Halley’s method and fixed points.
Functions§
- halley
- Finds a root of
fby Halley’s method fromx0, as SciPy’snewtonwithfprime2: the Newton stepδ = f/f'is divided by1 − δ f''/(2f')whenever that correction is below one in magnitude. Stops when successive iterates differ by at mosttol(SciPy’s default is 1.48·10⁻⁸) orf(x)is exactly zero; errors on a zero derivative or after 50 iterations. Converges cubically near a simple root.