

def dmp_gcd(f, g, u, K):
    '\n    Computes polynomial GCD of `f` and `g` in `K[X]`.\n\n    Examples\n    ========\n\n    >>> from sympy.polys import ring, ZZ\n    >>> R, x,y, = ring("x,y", ZZ)\n\n    >>> f = x**2 + 2*x*y + y**2\n    >>> g = x**2 + x*y\n\n    >>> R.dmp_gcd(f, g)\n    x + y\n\n    '
    return dmp_inner_gcd(f, g, u, K)[0]

dataset/ETHPy150Open sympy/sympy/sympy/polys/euclidtools.py dmp_gcd/original