Skip to main content

compute_directional_derivative_fwd

Function compute_directional_derivative_fwd 

pub fn compute_directional_derivative_fwd<T, F>(
    inputs: &[T],
    seed: &[T],
    func: F,
) -> (T, T)
where T: Passive, F: FnOnce(&[Jet1<T>]) -> Jet1<T>,