Expand description
Root finding algorithms.
See the book chapter Root finding.
Re-exports§
pub use bracketing::bracket_root;pub use bracketing::bracket_roots_scan;pub use bisection::bisection;pub use secant_method::secant_method;pub use false_position_method::false_position;pub use ridders_method::ridders_method;pub use van_wijngaarden_dekker_brent::brent_method;pub use newton_raphson::newton_raphson;pub use polynomial_roots::polynomial_roots;pub use polynomial_roots::polynomial_roots_complex;pub use nonlinear_systems::SystemOptions;pub use nonlinear_systems::SystemRootResult;pub use nonlinear_systems::broyden_system;pub use nonlinear_systems::newton_system;pub use halley::halley;pub use fixed_point::FixedPointMethod;pub use fixed_point::fixed_point;pub use minpack::JacobianFn;pub use minpack::LmOptions;pub use minpack::LmResult;pub use minpack::leastsq;pub use minpack::root_lm;pub use newton_krylov::InnerSolver;pub use newton_krylov::NewtonKrylovOptions;pub use newton_krylov::NewtonKrylovResult;pub use newton_krylov::newton_krylov;
Modules§
- bisection
- Bisection method.
- bracketing
- Root bracketing.
- false_
position_ method - False position method (Illinois variant).
- fixed_
point - Fixed points
x = g(x)by iteration accelerated with Steffensen’s (Aitken’s Δ²) method (SciPy’soptimize.fixed_point). - halley
- Halley’s method (SciPy’s
newtongivenfprime2), cubically convergent with the second derivative. - minpack
- MINPACK’s Levenberg-Marquardt method (
lmderandlmdif, Moré 1978), as SciPy’soptimize.leastsqandoptimize.root(method="lm")call it: nonlinear least squaresmin ‖F(x)‖²,F: ℝⁿ → ℝᵐ,m ≥ n, and so also the roots of square systems. - newton_
krylov - Jacobian-free Newton-Krylov for large nonlinear systems
F(x) = 0(SciPy’soptimize.newton_krylov): each Newton correction is found by a Krylov solver that needs only products of the Jacobian with vectors, which are approximated by one difference ofFeach. - newton_
raphson - Newton-Raphson method.
- nonlinear_
systems - Roots of nonlinear systems
F(x) = 0,F: ℝⁿ → ℝⁿ. - polynomial_
roots - Polynomial roots as the eigenvalues of the companion matrix: all (complex) roots, or the real ones, polished and with repeated roots merged.
- ridders_
method - Ridders’ method.
- secant_
method - Secant method.
- van_
wijngaarden_ dekker_ brent - Van Wijngaarden-Dekker-Brent method.