FLINT3.7.0-dev

fmpz_mod_poly_get_str, fmpz_mod_poly_get_str_pretty

Synopsis#include <flint/fmpz_mod_poly.h>
char * fmpz_mod_poly_get_str(const fmpz_mod_poly_t poly, const fmpz_mod_ctx_t ctx)source
char * fmpz_mod_poly_get_str_pretty(const fmpz_mod_poly_t poly, const char * x, const fmpz_mod_ctx_t ctx)source

Return a string for poly in the format of fmpz_poly_get_str (the length and the coefficients, without the modulus), respectively the pretty format with variable name x. The string must be freed with flint_free.

Cite this page

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