FLINT3.7.0-dev

fq_zech_mpoly_gcd, fq_zech_mpoly_gcd_cofactors

Synopsis#include <flint/fq_zech_mpoly.h>
int fq_zech_mpoly_gcd(fq_zech_mpoly_t G, const fq_zech_mpoly_t A, const fq_zech_mpoly_t B, const fq_zech_mpoly_ctx_t ctx)source
int fq_zech_mpoly_gcd_cofactors(fq_zech_mpoly_t G, fq_zech_mpoly_t Abar, fq_zech_mpoly_t Bbar, const fq_zech_mpoly_t A, const fq_zech_mpoly_t B, const fq_zech_mpoly_ctx_t ctx)source

Set G to the monic GCD of A and B (and the cofactors A/G, B/G), computed by converting to fq_nmod_mpoly and calling fq_nmod_mpoly_gcd or fq_nmod_mpoly_gcd_cofactors. Return 1 for success.

Cite this page

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