factor x
The result is a Product each of whose factors is a Power whose base is one of the factors found and whose exponent is an integer.
|
|
|
|
We may peek inside x to a high depth to see its true structure as Expression.
|
For integers, factorization is done by FLINT, and the factors $x$ are actually just probably prime, as described in the documentation of isPseudoprime.
For multivariate polynomials the factorization is done with code of Michael Messollen (see Singular-Factory). For univariate polynomials the factorization is in turn done with code of Gert-Martin Greuel and Ruediger Stobbe (see Singular-Factory).
|
|
|
|
The source of this document is in Macaulay2Doc/functions/factor-doc.m2:70:0.