FLINT3.7.0-dev

_fmpz_mod_poly_minpoly_hgcd, fmpz_mod_poly_minpoly_hgcd

Synopsis#include <flint/fmpz_mod_poly.h>
slong _fmpz_mod_poly_minpoly_hgcd(fmpz * poly, const fmpz * seq, slong len, const fmpz_mod_ctx_t ctx)source
void fmpz_mod_poly_minpoly_hgcd(fmpz_mod_poly_t poly, const fmpz * seq, slong len, const fmpz_mod_ctx_t ctx)source

Like fmpz_mod_poly_minpoly, using a half-GCD of x^{\mathit{len}} and the reversed sequence, in O(M(\mathit{len}) \log \mathit{len}) operations regardless of the degree.

Cite this page

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