ProbSplit - probabilistic splitting of same degree factors
|
Calling Sequence
|
|
ProbSplit(a, d, x, K) mod p
|
|
Parameters
|
|
a
|
-
|
univariate polynomial in x
|
d
|
-
|
positive integer
|
x
|
-
|
name
|
K
|
-
|
(optional) RootOf
|
p
|
-
|
prime integer
|
|
|
|
|
Description
|
|
•
|
ProbSplit factors a monic square-free univariate polynomial over a finite field where it is known to contain factors of degree d only. The factorization is returned as a set of irreducible factors.
|
•
|
This function is normally used with the DistDeg function which is used to split a polynomial into factors which contain factors of the same degree. The ProbSplit function can then be applied to split those factors.
|
•
|
The optional argument K specifies an extension field over which the factorization is to be done. See Factor for further information. Note: only the case of a single field extension is implemented.
|
•
|
Algorithm: a probabilistic method of Cantor-Zassenhaus is used to try to split the polynomial a of degree n into m=(n/d) factors of degree d. The average complexity is assuming classical algorithms for polynomial arithmetic.
|
|
|
Examples
|
|
Factor the square-free polynomial a over GF(2)
>
|
|
| (1) |
>
|
|
| (2) |
This tells us that there are two linear factors, and one quartic factor. To complete the factorization we split the quadratic factor
>
|
|
| (3) |
Compute the roots of x^4-2=0 mod 10^10-33
>
|
|
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
|
|
References
|
|
|
Cantor, D. G., and Zassenhaus, H. "A New Algorithm for Factoring Polynomials over a Finite Field." Mathematics of Computation, Vol. 36, (1981): 587-592.
|
|
Geddes, K. O.; Labahn, G.; and Czapor, S. R. Algorithms for Computer Algebra. Kluwer Academic Publishers, 1992.
|
|
|
Download Help Document
Was this information helpful?