FLINT3.7.0-dev

fmpz_mod_poly_zero_coeffs

Synopsis#include <flint/fmpz_mod_poly.h>
void fmpz_mod_poly_zero_coeffs(fmpz_mod_poly_t poly, slong i, slong j, const fmpz_mod_ctx_t ctx)source

Sets the coefficients of x^k for i \le k < j to zero, normalising the result if the top coefficients were cleared. Indices outside [0, \mathit{len}) are ignored.

Cite this page

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