FLINT3.7.0-dev

fq_zech_pow, fq_zech_pow_ui

Synopsis#include <flint/fq_zech.h>
void fq_zech_pow(fq_zech_t rop, const fq_zech_t op1, const fmpz_t e, const fq_zech_ctx_t ctx)source
void fq_zech_pow_ui(fq_zech_t rop, const fq_zech_t op1, const ulong e, const fq_zech_ctx_t ctx)source

Set rop to \mathit{op1}^e for e \ge 0 (with \mathit{op1}^0 = 1), by multiplying the logarithm by e modulo q - 1. fq_zech_pow throws FLINT_ERROR for e < 0.

Cite this page

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