FLINT3.7.0-dev

_nmod_mpoly_get_lead0, _nmod_mpoly_set_lead0

Synopsis#include <flint/nmod_mpoly_factor.h>
void _nmod_mpoly_get_lead0(nmod_mpoly_t c, const nmod_mpoly_t A, const nmod_mpoly_ctx_t ctx)source
void _nmod_mpoly_set_lead0(nmod_mpoly_t A, const nmod_mpoly_t B, const nmod_mpoly_t c, const nmod_mpoly_ctx_t ctx)source

_nmod_mpoly_get_lead0 sets c to the leading coefficient of A viewed as a polynomial in variable 0 (a polynomial in the other variables). _nmod_mpoly_set_lead0 sets A to B with that leading coefficient replaced by c.

Cite this page

The FLINT team, “_nmod_mpoly_get_lead0, _nmod_mpoly_set_lead0 (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_get_lead0.html (generated 2026-10-20).