FLINT3.7.0-dev

fmpz_mpoly_get_str_pretty, _fmpz_mpoly_get_str_pretty

Synopsis#include <flint/fmpz_mpoly.h>
char * fmpz_mpoly_get_str_pretty(const fmpz_mpoly_t A, const char ** x, const fmpz_mpoly_ctx_t ctx)source
char * _fmpz_mpoly_get_str_pretty(const fmpz * poly, const ulong * exps, slong len, const char ** x, slong bits, const mpoly_ctx_t mctx)source

Return a string such as 3*x^2*y-y+1 representing A (respectively the terms (poly, exps, len) packed with bits bits), terms in the order in which they are stored. The string must be freed with flint_free.

Guides#

Cite this page

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