FLINT3.7.0-dev

n_poly_is_canonical

Synopsis#include <flint/n_poly.h>
int n_poly_is_canonical(const n_poly_t A)source

Returns whether A is normalised (its length is nonnegative and its leading coefficient nonzero). It does not check that the coefficients are reduced; see n_poly_mod_is_canonical.

Cite this page

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