FLINT3.7.0-dev

fq_nmod_mpoly_ctx_change_modulus

Synopsis#include <flint/fq_nmod_mpoly.h>
void fq_nmod_mpoly_ctx_change_modulus(fq_nmod_mpoly_ctx_t ctx, slong deg)source

Replaces the field of ctx by \mathbb{F}_{p^{\mathit{deg}}} with the same characteristic, as in fq_nmod_mpoly_ctx_init_deg. Polynomials of the context become invalid. Used by the algorithms that try extension fields of increasing degree.

Cite this page

The FLINT team, “fq_nmod_mpoly_ctx_change_modulus (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_ctx_change_modulus.html (generated 2026-10-20).