fmpz_poly_set_coeff_fmpz, fmpz_poly_set_coeff_si, fmpz_poly_set_coeff_ui
Synopsis
#include <flint/fmpz_poly.h>void fmpz_poly_set_coeff_fmpz(fmpz_poly_t poly, slong n, const fmpz_t x)sourcevoid fmpz_poly_set_coeff_si(fmpz_poly_t poly, slong n, slong x)sourcevoid fmpz_poly_set_coeff_ui(fmpz_poly_t poly, slong n, ulong x)sourceSet the coefficient of x^n in poly to x, extending the polynomial with zero coefficients if n is beyond the length, and normalising if the leading coefficient is set to zero.
Guides#
Cite this page
The FLINT team, “fmpz_poly_set_coeff_fmpz, fmpz_poly_set_coeff_si, fmpz_poly_set_coeff_ui (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/fmpz_poly_set_coeff_fmpz.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-set-coeff-fmpz,
author = {{The FLINT team}},
title = {{fmpz\_poly\_set\_coeff\_fmpz, fmpz\_poly\_set\_coeff\_si, fmpz\_poly\_set\_coeff\_ui (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/fmpz_poly_set_coeff_fmpz.html},
note = {Generated 2026-10-20}
}