pub fn find_approximate_complex_root<P>(
ZZX: P,
f: &El<P>,
) -> Result<(El<Complex64>, f64), PrecisionError>where
P: RingStore,
P::Type: PolyRing + DivisibilityRing,
<<P::Type as RingExtension>::BaseRing as RingStore>::Type: IntegerRing,
Available on crate feature
unstable-enable
only.Expand description
Finds an approximation to a complex root of the given integer polynomial.
This function does not try to be as efficient as possible, but instead tries to avoid (or at least detect) as many numerical problems as possible.
The first return value is an approximation to the root of the polynomial, and the second return value is an upper bound to the distance to the exact root.
ยงAvailability
This API is marked as unstable and is only available when the unstable-enable
crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.