AngouriMath
PolynomialSignTable
Description
Summary
the sign of
Remarks
answer is the union of those intervals where the sign is positive. Everything hard is
in the word *consecutive*: the intervals are only the answer if the list of real roots
is complete, and a missed root merges two intervals of opposite sign into one
and reports the wrong half of it as the solution. So this refuses wherever completeness
cannot be established, rather than answering from whatever roots were found.
FactorPrimitive(AngouriMath.Functions.IntegerPolynomial) writes the polynomial as a
product of powers of irreducibles over
multiply back to what it was given — so every real root of the whole is a real root of
exactly one factor, an irreducible being square-free and two distinct irreducibles
being coprime. Second, the number of real roots of each factor is read off its
Discriminant(AngouriMath.Functions.MultivariatePolynomial,System.Int32,System.Collections.Generic.IReadOnlyList{System.Int32}): a factor of degree two has two real
roots where its discriminant is positive and none where it is negative, and one of
degree three has three and one respectively. A factor of degree four needs two more
quantities alongside the discriminant, and there is no such criterion at five — nor a
formula for the roots — which is where this stops. That count is what makes a root
list a complete root list rather than a list of the roots that happened to come back.
which is exact, and their order is decided numerically, which is not. So the
ordering is checked rather than trusted: the sign of the polynomial at an exact
rational point in each interval is computed in exact integer arithmetic, and the
resulting sequence has to change sign at every root of odd multiplicity and keep it at
every root of even multiplicity. A misordered or merged root shows up as a sequence
that does not, and is refused. The two outermost sample points are placed beyond
Cauchy's bound, so no root can lie outside the sampled range.
#746, item 43 —
and the consumer that the resultant was waiting for.
Members
CauchyBound(AngouriMath.Functions.IntegerPolynomial)
MethodEvaluate(AngouriMath.Functions.IntegerPolynomial,PeterO.Numbers.ERational)
MethodLeastRelativeGap
FieldMaxFactorDegree
FieldTrySolve(AngouriMath.Entity,AngouriMath.Entity.Variable,AngouriMath.Entity.Set@)
Method
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online