nmod_poly_struct, nmod_poly_t
Synopsis
#include <flint/nmod_poly.h>nmod_poly_structnmod_poly_tA 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#
- Getting started with fmpz_mod_poly (
fmpz_mod_poly) - Getting started with fmpz_poly (
fmpz_poly) - Getting started with nmod_mpoly (
nmod_mpoly) - Getting started with nmod_poly
- Computing modulo a fixed polynomial
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).
@misc{flint-doc-nmod-poly-nmod-poly-struct,
author = {{The FLINT team}},
title = {{nmod\_poly\_struct, nmod\_poly\_t (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/nmod_poly_struct.html},
note = {Generated 2026-10-20}
}