Function ncollide_utils::newton [] [src]

pub fn newton<V, M, F: Fn(&V) -> (V, M)>(niter: usize, guess: V, f: &mut F) -> (V, bool) where V: Sub<V, Output=V>, M: Inverse + Mul<V, Output=V> + Copy

Finds the root of a function using the Newton method.