padic_poly_set_coeff_padic
Synopsis
#include <flint/padic_poly.h>void padic_poly_set_coeff_padic(padic_poly_t poly, slong n, const padic_t c, const padic_ctx_t ctx)sourceSets the coefficient of x^n to c, reduced to the precision of poly. If c has smaller valuation than poly, all coefficients are rescaled, so the cost can be linear in the length. The result is normalised: setting the leading coefficient to zero (or to an element of valuation at least the precision of poly) reduces the length.
Cite this page
The FLINT team, “padic_poly_set_coeff_padic (padic_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/padic_poly/padic_poly_set_coeff_padic.html (generated 2026-10-20).
@misc{flint-doc-padic-poly-padic-poly-set-coeff-padic,
author = {{The FLINT team}},
title = {{padic\_poly\_set\_coeff\_padic (padic\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/padic_poly/padic_poly_set_coeff_padic.html},
note = {Generated 2026-10-20}
}