pub trait Function2D: Function1D {
// Required method
fn second_derivative(&mut self, x: Real) -> Real;
}Expand description
A Function1D that also exposes its second derivative, for solvers that use
curvature (Halley). Build one from three closures with func2d.
Required Methods§
Sourcefn second_derivative(&mut self, x: Real) -> Real
fn second_derivative(&mut self, x: Real) -> Real
f''(x).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".