nmod_mpoly_push_term_ui_ui, nmod_mpoly_push_term_ui_fmpz, nmod_mpoly_push_term_ui_ffmpz
Synopsis
#include <flint/nmod_mpoly.h>void nmod_mpoly_push_term_ui_ui(nmod_mpoly_t A, ulong c, const ulong * exp, const nmod_mpoly_ctx_t ctx)sourcevoid nmod_mpoly_push_term_ui_fmpz(nmod_mpoly_t A, ulong c, fmpz * const * exp, const nmod_mpoly_ctx_t ctx)sourcevoid nmod_mpoly_push_term_ui_ffmpz(nmod_mpoly_t A, ulong c, const fmpz * exp, const nmod_mpoly_ctx_t ctx)sourceAppend a term with coefficient c \bmod n and exponent vector exp to A, in constant amortised time. The _ffmpz version takes the exponents as an array of fmpz, the _fmpz version as an array of pointers to fmpz. After all terms are pushed, call nmod_mpoly_sort_terms and nmod_mpoly_combine_like_terms unless they were pushed in decreasing order with distinct monomials and nonzero coefficients.
Guides#
Cite this page
The FLINT team, “nmod_mpoly_push_term_ui_ui, nmod_mpoly_push_term_ui_fmpz, nmod_mpoly_push_term_ui_ffmpz (nmod_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mpoly/nmod_mpoly_push_term_ui_ui.html (generated 2026-10-20).
@misc{flint-doc-nmod-mpoly-nmod-mpoly-push-term-ui-ui,
author = {{The FLINT team}},
title = {{nmod\_mpoly\_push\_term\_ui\_ui, nmod\_mpoly\_push\_term\_ui\_fmpz, nmod\_mpoly\_push\_term\_ui\_ffmpz (nmod\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mpoly/nmod_mpoly_push_term_ui_ui.html},
note = {Generated 2026-10-20}
}