FLINT3.7.0-dev

fq_nmod_mpoly_set_str_pretty

Synopsis#include <flint/fq_nmod_mpoly.h>
int fq_nmod_mpoly_set_str_pretty(fq_nmod_mpoly_t A, const char * str, const char ** x, const fq_nmod_mpoly_ctx_t ctx)source

Parses str with integers, the variables in x, +, -, *, exact / and ^ followed by an integer exponent. The generator of the field is not available as a symbol unless it is included in x. Returns 0 on success, and -1 (setting A to zero) on failure.

Guides#

Cite this page

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