Function russell_lab::check::deriv1_forward7
source · pub fn deriv1_forward7<F, A>(
at_x: f64,
args: &mut A,
f: F,
) -> Result<f64, StrError>
Expand description
Approximates the first derivative using forward difference with 7 points
Given f(x)
, approximate:
df │
—— │
dx │x=at_x