fq_nmod_poly_set_coeff, fq_nmod_poly_set_coeff_fmpz
Synopsis
#include <flint/fq_nmod_poly.h>void fq_nmod_poly_set_coeff(fq_nmod_poly_t poly, slong n, const fq_nmod_t x, const fq_nmod_ctx_t ctx)void fq_nmod_poly_set_coeff_fmpz(fq_nmod_poly_t poly, slong n, const fmpz_t x, const fq_nmod_ctx_t ctx)Set the coefficient of x^n, n \ge 0, to the element x, respectively to the image of the integer x in \mathbb{F}_p, extending and normalising the polynomial as needed.
Generated from the same template as fq_poly_set_coeff, whose documentation has the details.
Cite this page
The FLINT team, “fq_nmod_poly_set_coeff, fq_nmod_poly_set_coeff_fmpz (fq_nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_poly/fq_nmod_poly_set_coeff.html (generated 2026-10-20).
@misc{flint-doc-fq-nmod-poly-fq-nmod-poly-set-coeff,
author = {{The FLINT team}},
title = {{fq\_nmod\_poly\_set\_coeff, fq\_nmod\_poly\_set\_coeff\_fmpz (fq\_nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_nmod_poly/fq_nmod_poly_set_coeff.html},
note = {Generated 2026-10-20}
}