horseshoe

Trait Diff

Source
pub trait Diff
where Self: FromPrimitive + Num + Copy,
{ // Provided method fn numder(z: Self, f: &dyn Fn(Self) -> Self) -> Self { ... } }

Provided Methods§

Source

fn numder(z: Self, f: &dyn Fn(Self) -> Self) -> Self

Derivate a function at a real or complex point.

§Example

Diff::numder(0.5, &my_function_name)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Diff for f32

Source§

impl Diff for f64

Source§

impl Diff for Complex<f32>

Source§

impl Diff for Complex<f64>

Implementors§