FLINT3.7.0-dev

_fmpq_poly_evaluate_fmpq

Synopsis#include <flint/fmpq_poly.h>
void _fmpq_poly_evaluate_fmpq(fmpz_t rnum, fmpz_t rden, const fmpz * poly, const fmpz_t den, slong len, const fmpz_t anum, const fmpz_t aden)source

Evaluates the polynomial (poly, den, len) at the rational (anum, aden) and sets (rnum, rden) to the result in lowest terms. Aliasing between (rnum, rden) and (anum, aden) is not supported.

Cite this page

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