FLINT3.7.0-dev

fmpz_bpoly_factor

Synopsis#include <flint/fmpz_mpoly_factor.h>
void fmpz_bpoly_factor(fmpz_poly_t c, fmpz_tpoly_t F, fmpz_bpoly_t B)source

Factors the squarefree bivariate polynomial BB of positive degree in xx: sets cc to its content as a polynomial in xx over Z[y]\mathbb{Z}[y] and FF to the irreducible factors of the primitive part. The point α\alpha is the first of 0,1,−1,2,−2,…0, 1, -1, 2, -2, \ldots for which B(x,α)B(x, \alpha) keeps its degree and is squarefree; B(x,α)B(x, \alpha) is factored with fmpz_poly_factor, the factors are lifted in (Z/pkZ)[[y−α]][x](\mathbb{Z}/p^k\mathbb{Z})[[y - \alpha]][x] to a precision given by a bound on the factors, and recombined by trying subsets. BB is destroyed. If BB is not squarefree, the search for α\alpha does not terminate.

Cite this page

The FLINT team, “fmpz_bpoly_factor (fmpz_mpoly_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly_factor/fmpz_bpoly_factor.html (generated 2026-11-02).