FLINT3.7.0-dev

fq_nmod_mpoly_pow_ui, fq_nmod_mpoly_pow_fmpz

Synopsis#include <flint/fq_nmod_mpoly.h>
int fq_nmod_mpoly_pow_ui(fq_nmod_mpoly_t A, const fq_nmod_mpoly_t B, ulong k, const fq_nmod_mpoly_ctx_t ctx)source
int fq_nmod_mpoly_pow_fmpz(fq_nmod_mpoly_t A, const fq_nmod_mpoly_t B, const fmpz_t k, const fq_nmod_mpoly_ctx_t ctx)source

Set A to B^k. fq_nmod_mpoly_pow_fmpz throws if k < 0 and returns 0 if k does not fit an slong and B has more than one term; otherwise both return 1.

Cite this page

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