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 \mathbb{Z}/n\mathbb{Z}. The structure has the fields coeffs (an array of alloc coefficients), alloc, length and mod (an nmod_t for n, see nmod.h). An nmod_poly_t is an array of one nmod_poly_struct, so it is passed by reference. The coefficient of x^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-10-20).