FLINT3.7.0-dev

fmpz_mpoly_univar_resultant, fmpz_mpoly_univar_discriminant

Synopsis#include <flint/fmpz_mpoly.h>
int fmpz_mpoly_univar_resultant(fmpz_mpoly_t d, const fmpz_mpoly_univar_t ax, const fmpz_mpoly_univar_t bx, const fmpz_mpoly_ctx_t ctx)source
int fmpz_mpoly_univar_discriminant(fmpz_mpoly_t d, const fmpz_mpoly_univar_t fx, const fmpz_mpoly_ctx_t ctx)source

Set d to the resultant of ax and bx, respectively the discriminant of fx, in the main variable, by the subresultant algorithm. Return 1 for success and 0 for failure.

Cite this page

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