fmpq_poly_resultant
Synopsis
#include <flint/fmpq_poly.h>void fmpq_poly_resultant(fmpq_t r, const fmpq_poly_t f, const fmpq_poly_t g)sourceReturns the resultant of and .
Enumerating the roots of and over as and , respectively, and letting and denote the leading coefficients, the resultant is defined as
We handle special cases as follows: if one of the polynomials is zero, the resultant is zero. Otherwise, if one of the polynomials is constant, the last term in the above expression is the empty product.
Cite this page
The FLINT team, “fmpq_poly_resultant (fmpq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_poly/fmpq_poly_resultant.html (generated 2026-11-02).
@misc{flint-doc-fmpq-poly-fmpq-poly-resultant,
author = {{The FLINT team}},
title = {{fmpq\_poly\_resultant (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_resultant.html},
note = {Generated 2026-11-02}
}