FLINT3.7.0-dev

nmod_mpoly_init, nmod_mpoly_init2, nmod_mpoly_init3

Synopsis#include <flint/nmod_mpoly.h>
void nmod_mpoly_init(nmod_mpoly_t A, const nmod_mpoly_ctx_t ctx)source
void nmod_mpoly_init2(nmod_mpoly_t A, slong alloc, const nmod_mpoly_ctx_t ctx)source
void nmod_mpoly_init3(nmod_mpoly_t A, slong alloc, flint_bitcnt_t bits, const nmod_mpoly_ctx_t ctx)source

Initialise A as the zero polynomial. nmod_mpoly_init allocates nothing; nmod_mpoly_init2 allocates space for alloc terms with the minimum exponent field width MPOLY_MIN_BITS, and nmod_mpoly_init3 space for alloc terms with bits bits per exponent field.

Guides#

Cite this page

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