Function ncollide_utils::minimize_with_bfgs [] [src]

pub fn minimize_with_bfgs<V, F, D>(niter: usize, num_guesses: usize, domain_min: &V, domain_max: &V, f: &mut F, df: &mut D) -> (V, V::Scalar) where V: Vector + Outer + Mul<V::OuterProductType, Output=V>, F: Fn(&V) -> V::Scalar, D: Fn(&V) -> V, V::OuterProductType: SquareMatrix<V::Scalar, V> + Add<V::OuterProductType, Output=V::OuterProductType> + Sub<V::OuterProductType, Output=V::OuterProductType> + Clone + Copy

Minimizes a function using the bfgs method.