FLINT3.7.0-dev

acb_poly_get_unique_fmpz_poly

Synopsis#include <flint/acb_poly.h>
int acb_poly_get_unique_fmpz_poly(fmpz_poly_t z, const acb_poly_t x)source

If, for every coefficient of x, the real part contains exactly one integer and the imaginary part contains zero, sets z to the integer polynomial with these coefficients and returns nonzero; z is then the only integer polynomial contained in x. Otherwise returns zero, and z may have been modified.

Cite this page

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