nmod_poly_set_coeff_ui
Synopsis
#include <flint/nmod_poly.h>void nmod_poly_set_coeff_ui(nmod_poly_t poly, slong j, ulong c)sourceSets the coefficient of x^j to c \bmod n, for any c. The polynomial grows, with zero coefficients in between, or shrinks if the leading coefficient is set to zero.
Guides#
Cite this page
The FLINT team, “nmod_poly_set_coeff_ui (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/nmod_poly_set_coeff_ui.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-set-coeff-ui,
author = {{The FLINT team}},
title = {{nmod\_poly\_set\_coeff\_ui (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/nmod_poly_set_coeff_ui.html},
note = {Generated 2026-10-20}
}