FLINT3.7.0-dev

qadic_fprint_pretty, qadic_print_pretty

Synopsis#include <flint/qadic.h>
int qadic_fprint_pretty(FILE * file, const qadic_t op, const qadic_ctx_t ctx)source
int qadic_print_pretty(const qadic_t op, const qadic_ctx_t ctx)source

Print op as a polynomial in the generator, in the printing mode of the context: in PADIC_TERSE mode as a polynomial with rational coefficients, in PADIC_SERIES mode as a sum of polynomials with coefficients in [0, p) times powers of p (throws if a coefficient is negative), and in PADIC_VAL_UNIT mode as (g)*p^v. Return 1.

Cite this page

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