Expand description
Multivariate polynomial factorization.
Currently implements bivariate factorization over $\mathbb{Z}$ and $\mathbb{F}_p$ via evaluation and Hensel lifting (Wang’s algorithm).
The bivariate polynomial is treated as a univariate polynomial in the main variable $x$ with coefficients in $\mathbb{Z}[y]$ (or $\mathbb{F}_p[y]$). It is evaluated at $y = \alpha$ to obtain a univariate image over the base domain, factored there, and the factors are lifted back to bivariate polynomials by linear Hensel lifting in the ideal $(y - \alpha)$.
References: Wang (1978), “An Improved Multivariate Polynomial Factoring Algorithm”; Geddes, Czapor, Labahn, Algorithms for Computer Algebra.
Functions§
- bivariate_
factor_ fp - Factor a bivariate polynomial over a prime finite field into irreducible factors with multiplicities.
- bivariate_
factor_ z - Factor a bivariate polynomial over the integers into irreducible factors with multiplicities.