FLINT3.7.0-dev

nmod_poly_length, nmod_poly_degree

Synopsis#include <flint/nmod_poly.h>
slong nmod_poly_length(const nmod_poly_t poly)source
slong nmod_poly_degree(const nmod_poly_t poly)source

Return the length and the degree of poly. The zero polynomial has length 0 and degree -1.

Guides#

Cite this page

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