FLINT3.7.0-dev

fmpz_mpolyl_gcd_hensel

Synopsis#include <flint/fmpz_mpoly_factor.h>
int fmpz_mpolyl_gcd_hensel(fmpz_mpoly_t G, slong Gdeg, fmpz_mpoly_t Abar, fmpz_mpoly_t Bbar, const fmpz_mpoly_t A, const fmpz_mpoly_t B, const fmpz_mpoly_ctx_t ctx)source

The EEZ-GCD algorithm [Wan1980] for AA and BB in at least two variables that are primitive as polynomials in x0x_0, given an upper bound Gdeg on the degree in x0x_0 of the GCD: the variables x1,…x_1, \ldots are evaluated at small integers, the univariate GCD is computed, and the factorisation G⋅AˉG \cdot \bar A of AA, of BB, or of a combination μ1A+μ2B\mu_1 A + \mu_2 B in which the two factors are coprime, is lifted with fmpz_mpoly_hlift.

References#

Cite this page

The FLINT team, “fmpz_mpolyl_gcd_hensel (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_mpolyl_gcd_hensel.html (generated 2026-11-02).