AngouriMath
Gcd(AngouriMath.Functions.IntegerPolynomial,AngouriMath.Functions.IntegerPolynomial)
Method (no overloads)
Summary
The greatest common divisor in Z[x] , with a positive leading coefficient.
Remarks
integer contents times that of the two primitive parts, so the integer part is
taken out first and the polynomial part is left to a remainder sequence.
step, which is the cheapest way to stop pseudo-division's exponential coefficient
growth — the alternative, the subresultant sequence used by
PolynomialGcd, is faster but needs bookkeeping that buys nothing at
the degrees this type is capped at. Knuth, TAOCP vol. 2, §4.6.1, algorithm E.
sequence in which each member divides the previous two, and callers that cannot
afford to be wrong about it — SquareFreeDecomposition divides by it —
use DivideExact(AngouriMath.Functions.IntegerPolynomial), which answers
rounding.
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online