FLINT3.7.0-dev

fmpz_mpoly_term_coeff_ref, fmpz_mpoly_leadcoeff

Synopsis#include <flint/fmpz_mpoly.h>
fmpz * fmpz_mpoly_term_coeff_ref(fmpz_mpoly_t A, slong i, const fmpz_mpoly_ctx_t ctx)source
fmpz * fmpz_mpoly_leadcoeff(const fmpz_mpoly_t A)source

Return a pointer to the coefficient of term i, respectively of the leading term (term 0) of the nonzero polynomial A. The index is only checked in builds with assertions.

Guides#

Cite this page

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