Crate polyzero
Source - Complex
- A complex number in Cartesian form.
- Pol
- polynomial, coefficients are listed from lowest to highest power
- newt
- run newton’s method on polynomial
p
with initial guesses z
for <= m
iterations until the change in z
is less than eps
- samp
- convert a vec of points into samples of
n
points around each in a circle with magnitude eps