FLINT3.7.0-dev

_padic_poly_fprint_pretty, padic_poly_fprint_pretty, _padic_poly_print_pretty, padic_poly_print_pretty

Synopsis#include <flint/padic_poly.h>
int _padic_poly_fprint_pretty(FILE * file, const fmpz * poly, slong len, slong val, const char * var, const padic_ctx_t ctx)source
int padic_poly_fprint_pretty(FILE * file, const padic_poly_t poly, const char * var, const padic_ctx_t ctx)source
int _padic_poly_print_pretty(const fmpz * poly, slong len, slong val, const char * var, const padic_ctx_t ctx)source
int padic_poly_print_pretty(const padic_poly_t poly, const char * var, const padic_ctx_t ctx)source

Print the polynomial as a sum of terms in the variable var, highest degree first, each nonconstant coefficient in parentheses. The underscore versions take len, val in the opposite order to _padic_poly_fprint. Return 1.

Cite this page

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