_fmpq_poly_divides
Synopsis
#include <flint/fmpq_poly.h>int _fmpq_poly_divides(fmpz * qpoly, fmpz_t qden, const fmpz * poly1, const fmpz_t den1, slong len1, const fmpz * poly2, const fmpz_t den2, slong len2)sourceReturn 1 if (poly2, den2, len2) divides (poly1, den1, len1) and set (qpoly, qden, len1 - len2 + 1) to the quotient. Otherwise return 0. Requires that qpoly has space for len1 - len2 + 1 coefficients and that len1 >= len2 > 0.
Cite this page
The FLINT team, “_fmpq_poly_divides (fmpq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_poly/_fmpq_poly_divides.html (generated 2026-10-20).
@misc{flint-doc-fmpq-poly-fmpq-poly-divides,
author = {{The FLINT team}},
title = {{\_fmpq\_poly\_divides (fmpq\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_poly/_fmpq_poly_divides.html},
note = {Generated 2026-10-20}
}