FLINT3.7.0-dev

nmod_mpoly_resultant

Synopsis#include <flint/nmod_mpoly.h>
int nmod_mpoly_resultant(nmod_mpoly_t R, const nmod_mpoly_t A, const nmod_mpoly_t B, slong var, const nmod_mpoly_ctx_t ctx)source

Sets R to the resultant of A and B with respect to the variable of index var, that is, the determinant of their Sylvester matrix as polynomials in that variable. Returns 1 for success. The modulus must be prime. When the inputs are of sufficient size, the resultant is computed by nmod_mpoly_resultant_kronecker; otherwise by the subresultant algorithm of Ducos on the univariate forms.

Guides#

Cite this page

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