FLINT3.7.0-dev

nmod_mpoly_get_coeff_vars_ui

Synopsis#include <flint/nmod_mpoly.h>
void nmod_mpoly_get_coeff_vars_ui(nmod_mpoly_t C, const nmod_mpoly_t A, const slong * vars, const ulong * exps, slong length, const nmod_mpoly_ctx_t ctx)source

Sets C to the coefficient of \prod_i x_{v_i}^{e_i} in A viewed as a polynomial in the variables x_{v_i} with coefficients in the other variables, where v_i = vars[i] and e_i = exps[i] for 0 \le i < length. The variables must be distinct, and 0 < length \le m. The result does not involve the variables in vars.

Cite this page

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