AngouriMath
LiftPair(AngouriMath.Functions.IntegerPolynomial,AngouriMath.Functions.PrimeFieldPolynomial,AngouriMath.Functions.PrimeFieldPolynomial,System.Int64,PeterO.Numbers.EInteger,AngouriMath.Functions.IntegerPolynomial@,AngouriMath.Functions.IntegerPolynomial@)
Method (no overloads)
Summary
Lifts poly = left * right from modulo prime to modulo
modulus , one power at a time.
Remarks
the product match one power further leaves
prime, where
is what keeps both sides at the degree they started with, so that the product stays
the degree of the polynomial being factored. Knuth, TAOCP vol. 2, §4.6.2,
algorithm H.
just reached, and declines if it does not. The Bezout pair is computed once, from
the factors modulo the prime, and stays correct because neither factor changes
modulo the prime as it is lifted.
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online