FLINT3.7.0-dev

fmpq_poly_remove

Synopsis#include <flint/fmpq_poly.h>
slong fmpq_poly_remove(fmpq_poly_t q, const fmpq_poly_t poly1, const fmpq_poly_t poly2)source

Sets q to the quotient of poly1 by the highest power of poly2 which divides it, and returns the power. The divisor poly2 must not be constant or an exception is raised.

Cite this page

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