Trait multistochgrad::types::FunctionC1
source · pub trait FunctionC1<D: Dimension>: Function<D> {
// Required method
fn gradient(&self, position: &Array<f64, D>) -> Array<f64, D>;
}
Expand description
Defines an objective function f
that is able to compute the first derivative
f'(x)
.