FLINT3.7.0-dev

fmpz_mpoly_univar_pseudo_gcd

Synopsis#include <flint/fmpz_mpoly.h>
int fmpz_mpoly_univar_pseudo_gcd(fmpz_mpoly_univar_t gx, const fmpz_mpoly_univar_t ax, const fmpz_mpoly_univar_t bx, const fmpz_mpoly_ctx_t ctx)source

Sets gx to the last nonzero subresultant of ax and bx (Ducos' algorithm), a pseudo-GCD: a multiple of their GCD by an element of the coefficient ring. Requires \deg \mathit{ax} \ge \deg \mathit{bx} and nonzero inputs. Returns 1 for success and 0 for failure.

Cite this page

The FLINT team, “fmpz_mpoly_univar_pseudo_gcd (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_pseudo_gcd.html (generated 2026-10-20).