FLINT3.7.0-dev

n_poly_degree, n_poly_lead

Synopsis#include <flint/n_poly.h>
slong n_poly_degree(const n_poly_t A)source
ulong n_poly_lead(const n_poly_t A)source

Return the degree (-1 for zero) and the leading coefficient (the polynomial must be nonzero).

Cite this page

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