mpoly_parse_parse
Synopsis
#include <flint/mpoly.h>int mpoly_parse_parse(mpoly_parse_t E, void * res, const char * s, slong len)sourceParses the string (s, len) and sets res to its value, returning 0 for success and -1 for failure; on failure res holds an unspecified value. The grammar is described at fmpz_mpoly_set_str_pretty: nonnegative integer constants, terminals, +, - (binary and unary), *, / (exact division), ^ followed immediately by a nonnegative integer, parentheses and spaces.
Cite this page
The FLINT team, “mpoly_parse_parse (mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpoly/mpoly_parse_parse.html (generated 2026-10-20).
@misc{flint-doc-mpoly-mpoly-parse-parse,
author = {{The FLINT team}},
title = {{mpoly\_parse\_parse (mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpoly/mpoly_parse_parse.html},
note = {Generated 2026-10-20}
}