FLINT3.7.0-dev

fmpz_mod_mpoly_pow_ui, fmpz_mod_mpoly_pow_fmpz

Synopsis#include <flint/fmpz_mod_mpoly.h>
int fmpz_mod_mpoly_pow_ui(fmpz_mod_mpoly_t A, const fmpz_mod_mpoly_t B, ulong k, const fmpz_mod_mpoly_ctx_t ctx)source
int fmpz_mod_mpoly_pow_fmpz(fmpz_mod_mpoly_t A, const fmpz_mod_mpoly_t B, const fmpz_t k, const fmpz_mod_mpoly_ctx_t ctx)source

Set A to B^k. fmpz_mod_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, “fmpz_mod_mpoly_pow_ui, fmpz_mod_mpoly_pow_fmpz (fmpz_mod_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_mpoly/fmpz_mod_mpoly_pow_ui.html (generated 2026-10-20).