FLINT3.7.0-dev

fq_default_poly_set_coeff, fq_default_poly_set_coeff_fmpz

Synopsis#include <flint/fq_default_poly.h>
void fq_default_poly_set_coeff(fq_default_poly_t poly, slong n, const fq_default_t x, const fq_default_ctx_t ctx)source
void fq_default_poly_set_coeff_fmpz(fq_default_poly_t poly, slong n, const fmpz_t x, const fq_default_ctx_t ctx)source

Set the coefficient of x^n to the element x, respectively to the image of the integer x in \mathbb{F}_p.

Guides#

Cite this page

The FLINT team, “fq_default_poly_set_coeff, fq_default_poly_set_coeff_fmpz (fq_default_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_default_poly/fq_default_poly_set_coeff.html (generated 2026-10-20).