Expand description
Adaptive derivatives with error estimates by Richardson extrapolation (Ridders’ method), the
counterpart of scipy.differentiate.derivative, jacobian and hessian.
Central differences with a decreasing sequence of steps h, h/c, h/c², … are combined in a
Neville tableau that cancels the even powers of h in their truncation error. The entry whose
change from its neighbours is smallest is returned, with that change as the error estimate,
and the iteration stops when rounding error starts to dominate.
See the book entry Adaptive derivatives.
Structs§
- Derivative
Options - Options for
derivative. - Derivative
Result - The result of
derivative.
Functions§
- derivative
f'(x)with an error estimate, by Ridders’ extrapolation of central differences.- hessian
- The Hessian
Hᵢⱼ = ∂²f/∂xᵢ∂xⱼoff: ℝⁿ → ℝ, as the Jacobian of the gradient, both by Ridders’ method (asscipy.differentiate.hessian), symmetrised. - jacobian
- The Jacobian
Jᵢⱼ = ∂fᵢ/∂xⱼoff: ℝⁿ → ℝᵐ, each column by Ridders’ method on the coordinate direction (asscipy.differentiate.jacobian), with the largest error estimate.