_gr_ore_poly_set_str, gr_ore_poly_set_str
Synopsis
#include <flint/gr_ore_poly.h>int _gr_ore_poly_set_str(gr_ptr res, const char * s, slong len, gr_ore_poly_ctx_t ctx)sourceint gr_ore_poly_set_str(gr_ore_poly_t res, const char * s, gr_ore_poly_ctx_t ctx)sourceParse an Ore polynomial from an expression in the generator name of the context and the generator names of the base ring; products are evaluated in the Ore algebra, so D*x and x*D differ. The underscore version writes exactly len coefficients (zero-padding) and returns GR_UNABLE if the result is longer; intermediate results may be longer.
Cite this page
The FLINT team, “_gr_ore_poly_set_str, gr_ore_poly_set_str (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_set_str.html (generated 2026-10-20).
@misc{flint-doc-gr-ore-poly-gr-ore-poly-set-str,
author = {{The FLINT team}},
title = {{\_gr\_ore\_poly\_set\_str, gr\_ore\_poly\_set\_str (gr\_ore\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_ore_poly/_gr_ore_poly_set_str.html},
note = {Generated 2026-10-20}
}