Function hyperdual::differentiate

source ·
pub fn differentiate<T: Copy + Scalar + One, F>(x: T, f: F) -> Twhere
    F: Fn(Dual<T>) -> Dual<T>,
Expand description

Evaluates the function using dual numbers to get the partial derivative at the input point