FLINT3.7.0-dev

_fq_zech_poly_xgcd

Synopsis#include <flint/fq_zech_poly.h>
slong _fq_zech_poly_xgcd(fq_zech_struct * G, fq_zech_struct * S, fq_zech_struct * fq_zech, const fq_zech_struct * A, slong lenA, const fq_zech_struct * B, slong lenB, const fq_zech_ctx_t ctx)

Computes a GCD GG of AA and BB and cofactors SS, TT (the argument named fq_zech) with SA+TB=GSA + TB = G, and returns the length of GG. Requires lenA ≥\ge lenB ≥1\ge 1 and (lenA,lenB)≠(1,1)(\mathit{lenA}, \mathit{lenB}) \ne (1, 1), space for lenB coefficients in GG, lenB - 1 in SS and lenA - 1 in TT, and no aliasing. GG is not made monic. This is a wrapper of _gr_poly_xgcd_euclidean and _gr_poly_xgcd_hgcd.

Generated from the same template as _fq_poly_xgcd, whose documentation has the details.

Cite this page

The FLINT team, “_fq_zech_poly_xgcd (fq_zech_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_zech_poly/_fq_zech_poly_xgcd.html (generated 2026-11-02).