pub fn newt<T>( p: &Pol<T>, z: Vec<Complex<T>>, m: usize, eps: T, ) -> Vec<Complex<T>>where T: Num + Float + Clone + Send + Sync + From<u32>, Complex<T>: Mul<T, Output = Complex<T>>, Vec<Complex<T>>: Sized + IntoParallelIterator<Item = Complex<T>>,
run newton’s method on polynomial p with initial guesses z for <= m iterations until the change in z is less than eps
p
z
m
eps