FLINT3.7.0-dev

_fmpz_poly_pow_binomial, fmpz_poly_pow_binomial

Synopsis#include <flint/fmpz_poly.h>
void _fmpz_poly_pow_binomial(fmpz * res, const fmpz * poly, ulong e)source
void fmpz_poly_pow_binomial(fmpz_poly_t res, const fmpz_poly_t poly, ulong e)source

Set res to (a + bx)^e for poly = a + bx of length exactly 2, by the binomial theorem. The non-underscore version raises an exception for any other length; the underscore version requires e > 0 and does not allow aliasing.

Cite this page

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