_fmpz_poly_set_str, fmpz_poly_set_str
Synopsis
#include <flint/fmpz_poly.h>int fmpz_poly_set_str(fmpz_poly_t poly, const char * str)sourceSet poly to the polynomial given in plain format by the null-terminated string str. Return 0 on success and a nonzero value if the string is malformed, in which case fmpz_poly_set_str sets poly to zero and the underscore version leaves the array in an undefined state. The underscore version requires that poly has room for the number of coefficients given in the string.
Guides#
Cite this page
The FLINT team, “_fmpz_poly_set_str, fmpz_poly_set_str (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/_fmpz_poly_set_str.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-set-str,
author = {{The FLINT team}},
title = {{\_fmpz\_poly\_set\_str, fmpz\_poly\_set\_str (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/_fmpz_poly_set_str.html},
note = {Generated 2026-10-20}
}