inert factor function
optional specification of the algebraic extension
The Factor function is a placeholder for representing the factorization of the polynomial a over a unique factorization domain. It is used in conjunction with either mod or evala, which define the coefficient domain as described below.
The call Factor(a) mod p computes the factorization of a over the integers modulo p a prime integer. The polynomial a must have rational coefficients or coefficients from a finite field specified by RootOfs.
The call Factor(a, K) mod p and computes the factorization of the polynomial a over the Galois field (finite field) defined by the algebraic extension K over the integers mod p a prime integer. The extension K is specified by a RootOf and must be irreducible over the integers mod p.
The call evala(Factor(a, K)) computes the factorization of the polynomial a over an algebraic number (or function) field defined by the extension K, which is specified as a RootOf or a set of RootOfs. The polynomial a must have algebraic number (or function) coefficients.
Factorization methods available are lenstra, trager, and linear. The default is trager. One selects the method by adding the name to the option set (see evala).
For the factorization of a univariate polynomial over an algebraic number field, use Lenstra's factorizer. This method is sometimes faster for small degree fields than the default factorizer.
For the factorization of a univariate polynomial over a finite field, Factor uses the Cantor Zassenhaus distinct degree algorithm. Berlekamp's algorithm is an alternate method that is more efficient in cases involving large p and a polynomial a that is irreducible or has few factors (see Berlekamp).
The Domains package is implicitly used to factor multivariate polynomials over a Galois field defined by a single extension. It can also be used explicitly to factor over a tower of multiple algebraic extensions.
Bernardin, Laurent, and Monagan, Michael B., "Efficient Multivariate Factorization over Finite Fields." In Proceedings of AAECC '97, pp. 15-28. Edited by Teo Mora and Harold F. Mattson. Springer, 1997.
Lenstra, A. K., "Lattices and Factorization of Polynomials over Algebraic Number Fields." In Proceedings of EUROCAM '82, pp. 32-39. Edited by Jacques Calmet. Springer, 1982.
Download Help Document
What kind of issue would you like to report? (Optional)