FLINT3.7.0-dev

fmpz_mod_poly_length, fmpz_mod_poly_degree

Synopsis#include <flint/fmpz_mod_poly.h>
slong fmpz_mod_poly_length(const fmpz_mod_poly_t poly, const fmpz_mod_ctx_t ctx)source
slong fmpz_mod_poly_degree(const fmpz_mod_poly_t poly, const fmpz_mod_ctx_t ctx)source

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

Cite this page

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