fmpz_mpolyl_lead_coeff, fmpz_mpolyl_content
Synopsis
#include <flint/fmpz_mpoly.h>void fmpz_mpolyl_lead_coeff(fmpz_mpoly_t c, const fmpz_mpoly_t A, slong num_vars, const fmpz_mpoly_ctx_t ctx)sourceint fmpz_mpolyl_content(fmpz_mpoly_t g, const fmpz_mpoly_t A, slong num_vars, const fmpz_mpoly_ctx_t ctx)sourceFor a lex context and , view as a polynomial in with coefficients in the other variables, and set to its leading coefficient, respectively to the GCD of its coefficients (returning 0 if a GCD failed). The outputs must not alias and have the packing width of .
Cite this page
The FLINT team, “fmpz_mpolyl_lead_coeff, fmpz_mpolyl_content (fmpz_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly/fmpz_mpolyl_lead_coeff.html (generated 2026-11-02).
@misc{flint-doc-fmpz-mpoly-fmpz-mpolyl-lead-coeff,
author = {{The FLINT team}},
title = {{fmpz\_mpolyl\_lead\_coeff, fmpz\_mpolyl\_content (fmpz\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mpoly/fmpz_mpolyl_lead_coeff.html},
note = {Generated 2026-11-02}
}