FLINT3.7.0-dev

_gr_mpoly_push_exp_ui, _gr_mpoly_push_exp_fmpz, gr_mpoly_push_term_scalar_ui, gr_mpoly_push_term_scalar_fmpz

Synopsis#include <flint/gr_mpoly.h>
void _gr_mpoly_push_exp_ui(gr_mpoly_t A, const ulong * exp, gr_mpoly_ctx_t ctx)source
void _gr_mpoly_push_exp_fmpz(gr_mpoly_t A, const fmpz * exp, gr_mpoly_ctx_t ctx)source
int gr_mpoly_push_term_scalar_ui(gr_mpoly_t A, gr_srcptr c, const ulong * exp, gr_mpoly_ctx_t ctx)source
int gr_mpoly_push_term_scalar_fmpz(gr_mpoly_t A, gr_srcptr c, const fmpz * exp, gr_mpoly_ctx_t ctx)source

Append a term with exponent vector exp at the end of A, increasing the number of bits per exponent if necessary; the underscore versions append only the monomial and leave the new coefficient for the caller to set. The result is in general not sorted and may contain repeated monomials or zero coefficients: call gr_mpoly_sort_terms and gr_mpoly_combine_like_terms afterwards.

Cite this page

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