nmod_mpoly_pow_ui, nmod_mpoly_pow_fmpz
Synopsis
#include <flint/nmod_mpoly.h>int nmod_mpoly_pow_ui(nmod_mpoly_t A, const nmod_mpoly_t B, ulong k, const nmod_mpoly_ctx_t ctx)sourceint nmod_mpoly_pow_fmpz(nmod_mpoly_t A, const nmod_mpoly_t B, const fmpz_t k, const nmod_mpoly_ctx_t ctx)sourceSet A to , with (zero if ). nmod_mpoly_pow_fmpz throws if , and returns 0 (failure) if does not fit an slong and B has more than one term; otherwise both return 1. For a prime modulus , nmod_mpoly_pow_ui writes and uses , so that only the powers with are computed by repeated multiplication.
Guides#
Cite this page
The FLINT team, “nmod_mpoly_pow_ui, nmod_mpoly_pow_fmpz (nmod_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mpoly/nmod_mpoly_pow_ui.html (generated 2026-11-02).
@misc{flint-doc-nmod-mpoly-nmod-mpoly-pow-ui,
author = {{The FLINT team}},
title = {{nmod\_mpoly\_pow\_ui, nmod\_mpoly\_pow\_fmpz (nmod\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mpoly/nmod_mpoly_pow_ui.html},
note = {Generated 2026-11-02}
}