Derivable

Trait Derivable 

Source
pub trait Derivable<N> {
    // Required method
    fn derivative(&self) -> Self;
}

Required Methods§

Source

fn derivative(&self) -> Self

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.

Implementors§

Source§

impl<N> Derivable<N> for LinearBinomial<N>
where N: Zero + One + Copy + Mul<Output = N> + TryFromUsizeExact,

Source§

impl<N> Derivable<N> for Monomial<N>
where N: Zero + Copy + Mul<Output = N> + TryFromUsizeExact,

Source§

impl<N> Derivable<N> for Polynomial<N>
where N: Zero + One + TryFromUsizeContinuous + Copy + MulAssign + SubAssign,

Source§

impl<N> Derivable<N> for QuadraticTrinomial<N>
where N: Zero + One + Copy + Mul<Output = N> + TryFromUsizeExact,

Source§

impl<N> Derivable<N> for SparsePolynomial<N>
where N: Zero + TryFromUsizeExact + Copy + Mul<Output = N>,