Function minimize_conjugate_gradient

Source
pub fn minimize_conjugate_gradient<F, S>(
    fun: F,
    x0: Array1<f64>,
    options: &Options,
) -> Result<OptimizeResult<S>, OptimizeError>
where F: FnMut(&ArrayView1<'_, f64>) -> S + Clone, S: Into<f64> + Clone,
Expand description

Implements the Conjugate Gradient method for unconstrained optimization with optional bounds support