FLINT3.7.0-dev

nmod_poly_struct, nmod_poly_t

Synopsis#include <flint/nmod_poly.h>
nmod_poly_struct
nmod_poly_t

A polynomial over Z/nZ\mathbb{Z}/n\mathbb{Z}. The structure has the fields coeffs (an array of alloc coefficients), alloc, length and mod (an nmod_t for nn, see nmod.h). An nmod_poly_t is an array of one nmod_poly_struct, so it is passed by reference. The coefficient of xix^i is coeffs[i].

Guides#

Cite this page

The FLINT team, “nmod_poly_struct, nmod_poly_t (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/nmod_poly_struct.html (generated 2026-11-02).