The centre of a ball, componentwise.
A point of a ball is within the radius of the centre.
A ball with a point has nonnegative radius.
Points of two balls that meet are within twice the radius sum of each other.
The mirror ball contains the conjugates of the ball's points.
At separationPrec p, the ball radius is at most a quarter of the
separation guaranteed by mahlerPrec p, in the form the proofs use.
Two roots of p whose balls at separationPrec p meet are equal.
conj is complex conjugation.
A root of the product of two minimal polynomials.
The product of two minimal polynomials is nonzero.
The real part of a number is within the ball radius of the centre's.
The complex interpretation of X² + 1.
mahlerPrec is at least three.
A root of X² + 1 has a stored isolation centre in the upper half plane
exactly when it is the imaginary unit.
distSqTo is real.
The point named by two rationals.
Equations
- Hex.AlgebraicNumber.point re im = ↑re + ↑im * Complex.I
Instances For
The squared distance from the point to the centre, as a real.
The centre distance is at most the coordinate bound.
The exact comparison of squared distances decides the strict order of distances.
A certified nearest root is nearest.
The fold behind exactNearest, on lists.
exactNearest on a nonempty array is a nearest root.
A polynomial of positive degree has a root in algebraicRoots.
rootNear returns a root.
rootNear is nearest.
A point within half the guaranteed separation of a number names it.