FLINT3.7.0-dev

fmpz_mpoly_get_coeff_vars_ui

Synopsis#include <flint/fmpz_mpoly.h>
void fmpz_mpoly_get_coeff_vars_ui(fmpz_mpoly_t C, const fmpz_mpoly_t A, const slong * vars, const ulong * exps, slong length, const fmpz_mpoly_ctx_t ctx)source

Sets C to the coefficient of \prod_k x_{\mathit{vars}[k]}^{\mathit{exps}[k]} in A viewed as a polynomial in the variables vars with coefficients in the other variables: the sum of the terms of A whose exponents in these variables are exactly exps, divided by that monomial. The arrays have length entries, with 0 < \mathit{length} \le nvars and distinct variables.

Guides#

Cite this page

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