FLINT3.7.0-dev

n_bpoly_mod_factor_smprime

Synopsis#include <flint/nmod_mpoly_factor.h>
int n_bpoly_mod_factor_smprime(n_poly_t c, n_tpoly_t F, n_bpoly_t B, int allow_shift, nmod_t ctx)source

Factors the bivariate polynomial B in xx (main variable) and yy, which must be separable in xx: sets c to its content with respect to xx and F to its irreducible factors. Evaluates y=αy = \alpha for α∈Fp\alpha \in \mathbb{F}_p (only α=0\alpha = 0 if allow_shift is zero), factors the univariate image, lifts the factors yy-adically by Hensel lifting and recombines them with the linear algebra on logarithmic derivatives of Lecerf [Lec2006] (Bivariate factorisation). Returns 0 if no suitable α\alpha exists in Fp\mathbb{F}_p. B is destroyed.

References#

  • [Lec2006] G. Lecerf. Sharp precision in Hensel lifting for bivariate polynomial factorization. Mathematics of Computation 75 (2006), 921–933.
Cite this page

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