Finite samples of the real line #
Polynomial.signSamples p consists of the distinct roots of p and its derivative,
together with two points beyond all roots of p. For nonzero p, these points meet
every root and every complementary interval. More precisely, every point can be joined
to a sample by a root-free closed interval, unless it is itself a root sample.
This permits simultaneous sign sampling for any finite family of divisors of p,
including over non-Archimedean real closed fields.
References #
S. Basu, R. Pollack, and M.-F. Roy, Algorithms in Real Algebraic Geometry, second edition, Chapter 10, for univariate sign determination using roots and complementary intervals.
Roots and critical points, augmented by two points beyond all the roots. The zero polynomial has a finite sample set too; its infinite zero set is not represented.
Equations
Instances For
Membership in the sample set, with the outer points stated explicitly.
Constant polynomials have just the two outer samples.
The zero polynomial has the two outer samples, rather than its entire zero set.
There is always an outer sample, even when the polynomial has no roots.
Every point is a root sample or shares a root-free closed interval with a sample. Thus the samples meet all complementary intervals, without a completeness assumption.