FLINT3.7.0-dev

nmod_mpoly_factor_lcc_wang

Synopsis#include <flint/nmod_mpoly_factor.h>
int nmod_mpoly_factor_lcc_wang(nmod_mpoly_struct * lc_divs, const nmod_mpoly_factor_t lcAfac, const n_poly_t Auc, const n_bpoly_struct * Auf, slong r, const n_poly_struct * alpha, const nmod_mpoly_ctx_t ctx)source

Wang's leading coefficient distribution [Wan1978] along a curve: given the factorisation lcAfac of the leading coefficient of A, and the content Auc \in \mathbb{F}_p[Y] and the r factors Auf of the bivariate image of A under the substitution of the polynomials alpha[i] \in \mathbb{F}_p[Y] for the variables other than the main one, sets lc_divs to the true leading coefficients of the factors (up to constants) (Leading coefficients over a finite field). Returns 1 for success and 0 if the curve is unlucky.

References#

Cite this page

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