_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)sourcevoid _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).
@misc{flint-doc-nmod-mpoly-factor-nmod-mpoly-get-lead0,
author = {{The FLINT team}},
title = {{\_nmod\_mpoly\_get\_lead0, \_nmod\_mpoly\_set\_lead0 (nmod\_mpoly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mpoly_factor/_nmod_mpoly_get_lead0.html},
note = {Generated 2026-10-20}
}