Expand description
Finite difference derivatives of scalar functions of one variable.
See the book entry Finite difference derivatives.
Enums§
- Derivative
Stencil Order - Which derivative
derivative_stencilapproximates.
Functions§
- derivative_
2_ point - The central difference
(f(x + h) − f(x − h)) / 2h, a second-order approximation tof'(x). - derivative_
stencil - A derivative of
fatxfrom the five-point stencilf(x − 2h), …, f(x + 2h). Returns a one-element vector holding the requested derivative.