FLINT3.7.0-dev

nmod_mpoly_compose_nmod_mpoly_gen

Synopsis#include <flint/nmod_mpoly.h>
void nmod_mpoly_compose_nmod_mpoly_gen(nmod_mpoly_t A, const nmod_mpoly_t B, const slong * c, const nmod_mpoly_ctx_t ctxB, const nmod_mpoly_ctx_t ctxAC)source

Sets A to B with the variable of index i in ctxB replaced by the variable of index c[i] in ctxAC, or by zero if c[i] is negative. The array c has one entry per variable of ctxB, and nonnegative entries must be valid variable indices of ctxAC.

Cite this page

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