Function forward_gradient_multi

Source
pub fn forward_gradient_multi<F>(
    func: F,
    x: &ArrayView1<'_, f64>,
) -> Result<Array1<f64>, OptimizeError>
where F: Fn(&[MultiDual]) -> MultiDual,
Expand description

Multi-variable forward-mode gradient computation using MultiDual