Skip to main content

Crate lib_jsl_derivatives

Crate lib_jsl_derivatives 

Source
Expand description

Numerical differentiation by finite differences: derivatives of functions of one variable, and gradients, Hessians and Jacobians of functions of several.

Every routine chooses its default step to balance the truncation error of the difference formula against the rounding error of subtracting nearly equal function values. See the book entry Finite difference derivatives.

Modules§

adaptive
Adaptive derivatives with error estimates by Richardson extrapolation (Ridders’ method), the counterpart of scipy.differentiate.derivative, jacobian and hessian.
derivatives_1d_scalar
Finite difference derivatives of scalar functions of one variable.
derivatives_vectors
Finite difference gradients, Hessians and Jacobians of functions of several variables.