FLINT3.7.0-dev

gr_ore_poly_fit_length, _gr_ore_poly_set_length, _gr_ore_poly_normalise

Synopsis#include <flint/gr_ore_poly.h>
void gr_ore_poly_fit_length(gr_ore_poly_t poly, slong len, gr_ore_poly_ctx_t ctx)source
void _gr_ore_poly_set_length(gr_ore_poly_t poly, slong len, gr_ore_poly_ctx_t ctx)source
void _gr_ore_poly_normalise(gr_ore_poly_t poly, gr_ore_poly_ctx_t ctx)source

Ensure space for len coefficients, set the length without normalising, and remove provably zero leading coefficients, as the gr_poly functions of the same names.

Cite this page

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