FLINT3.7.0-dev

_fq_pow

Synopsis#include <flint/fq.h>
void _fq_pow(fmpz * rop, const fmpz * op, slong len, const fmpz_t e, const fq_ctx_t ctx)source

Sets (rop, 2d - 1) to (op, len) raised to the power e \ge 0, reduced modulo f: the first d coefficients hold the reduced result and the others are zero. Requires 1 \le \mathit{len} \le d and space for 2d - 1 coefficients in rop. Does not allow aliasing. For e = 0 the result is 1.

Cite this page

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