FLINT3.7.0-dev

fmpz_mod_mpoly_resultant, fmpz_mod_mpoly_discriminant

Synopsis#include <flint/fmpz_mod_mpoly.h>
int fmpz_mod_mpoly_resultant(fmpz_mod_mpoly_t R, const fmpz_mod_mpoly_t A, const fmpz_mod_mpoly_t B, slong var, const fmpz_mod_mpoly_ctx_t ctx)source
int fmpz_mod_mpoly_discriminant(fmpz_mod_mpoly_t R, const fmpz_mod_mpoly_t A, slong var, const fmpz_mod_mpoly_ctx_t ctx)source

Set R to the resultant of A and B, or the discriminant of A, with respect to the variable of index var, by the subresultant algorithm of Ducos [Duc2000]. Return 1 for success. The modulus must be prime.

References#

Cite this page

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