FLINT3.7.0-dev

_fmpz_poly_pow_small

Synopsis#include <flint/fmpz_poly.h>
void _fmpz_poly_pow_small(fmpz * res, const fmpz * poly, slong len, ulong e)source

Sets res to poly raised to the power e \le 4 by squarings and one multiplication. Requires \mathit{len} > 0 and room for e(\mathit{len} - 1) + 1 coefficients; no aliasing.

Cite this page

The FLINT team, “_fmpz_poly_pow_small (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_small.html (generated 2026-10-20).