FLINT3.7.0-dev

nmod_mpoly_get_term_coeff_ui, nmod_mpoly_set_term_coeff_ui

Synopsis#include <flint/nmod_mpoly.h>
ulong nmod_mpoly_get_term_coeff_ui(const nmod_mpoly_t A, slong i, const nmod_mpoly_ctx_t ctx)source
void nmod_mpoly_set_term_coeff_ui(nmod_mpoly_t A, slong i, ulong c, const nmod_mpoly_ctx_t ctx)source

Get or set the coefficient of the term of index i. Setting a zero coefficient makes A non-canonical.

Guides#

Cite this page

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