FLINT3.7.0-dev

fmpq_mpoly_compose_fmpq_mpoly_gen

Synopsis#include <flint/fmpq_mpoly.h>
void fmpq_mpoly_compose_fmpq_mpoly_gen(fmpq_mpoly_t A, const fmpq_mpoly_t B, const slong * c, const fmpq_mpoly_ctx_t ctxB, const fmpq_mpoly_ctx_t ctxAC)source

Sets A to B with the variable of index i of ctxB replaced by the variable of index c[i] of ctxAC, or by zero if c[i] is negative. Each nonnegative c[i] must be less than the number of variables of ctxAC.

Cite this page

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