FLINT3.7.0-dev

gr_mpoly_init, gr_mpoly_init2, gr_mpoly_init3

Synopsis#include <flint/gr_mpoly.h>
void gr_mpoly_init(gr_mpoly_t A, gr_mpoly_ctx_t ctx)source
void gr_mpoly_init2(gr_mpoly_t A, slong alloc, gr_mpoly_ctx_t ctx)source
void gr_mpoly_init3(gr_mpoly_t A, slong alloc, flint_bitcnt_t bits, gr_mpoly_ctx_t ctx)source

Initialise A as the zero polynomial; init2 and init3 allocate space for alloc terms, with the default number of bits per exponent or with bits bits.

Guides#

Cite this page

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