FLINT3.7.0-dev

_fmpz_poly_is_one, fmpz_poly_is_one

Synopsis#include <flint/fmpz_poly.h>
int _fmpz_poly_is_one(const fmpz * poly, slong len)source
int fmpz_poly_is_one(const fmpz_poly_t poly)source

Return whether the polynomial is the constant 1. The underscore version allows zero padding and returns 0 for len = 0.

Cite this page

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