FLINT3.7.0-dev

_fmpz_mod_poly_pow, fmpz_mod_poly_pow

Synopsis#include <flint/fmpz_mod_poly.h>
void _fmpz_mod_poly_pow(fmpz * rop, const fmpz * op, slong len, ulong e, const fmpz_mod_ctx_t ctx)source
void fmpz_mod_poly_pow(fmpz_mod_poly_t rop, const fmpz_mod_poly_t op, ulong e, const fmpz_mod_ctx_t ctx)source

Set rop to \mathit{op}^e, with 0^0 = 1. The underscore version requires e > 1 and \mathit{len} > 0, writes e(\mathit{len} - 1) + 1 coefficients and does not allow aliasing.

Cite this page

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