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)sourcefmpz * fmpz_mpoly_leadcoeff(const fmpz_mpoly_t A)sourceReturn 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).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-term-coeff-ref,
author = {{The FLINT team}},
title = {{fmpz\_mpoly\_term\_coeff\_ref, fmpz\_mpoly\_leadcoeff (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_mpoly_term_coeff_ref.html},
note = {Generated 2026-10-20}
}