Expand description
Finite difference gradients, Hessians and Jacobians of functions of several variables.
See the book entry Finite difference derivatives.
Functions§
- gradient_
2_ point - The gradient
∇f(x)of a scalar function of several variables by central differences, one coordinate at a time (2nevaluations). - hessian_
2_ point - The Hessian
∇²f(x)of a scalar function by central differences: second differences on the diagonal and the four-point cross difference off it (1 + 2n + 2n(n − 1)evaluations). - jacobian_
2_ point - The Jacobian
∂fᵢ/∂xⱼof a vector-valued function by central differences (2n + 1evaluations); rowiis the gradient of componenti.