FLINT3.7.0-dev

padic_poly_set_fmpz_poly, padic_poly_set_fmpq_poly

Synopsis#include <flint/padic_poly.h>
void padic_poly_set_fmpz_poly(padic_poly_t rop, const fmpz_poly_t op, const padic_ctx_t ctx)source
void padic_poly_set_fmpq_poly(padic_poly_t rop, const fmpq_poly_t op, const padic_ctx_t ctx)source

Set rop to the integer or rational polynomial op. For a rational polynomial the power of p in the common denominator becomes a negative valuation and the rest of the denominator is inverted modulo p^{N - v}.

Cite this page

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