FLINT3.7.0-dev

gr_poly_pow_fmpz

Synopsis#include <flint/gr_poly.h>
int gr_poly_pow_fmpz(gr_poly_t res, const gr_poly_t poly, const fmpz_t exp, gr_ctx_t ctx)source

Sets res to f^e. A negative exponent is allowed only for a constant polynomial with an invertible constant (GR_DOMAIN otherwise), and an exponent that does not fit in a word gives GR_UNABLE unless f is constant.

Cite this page

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