

def dup_gcd(f, g, 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 = ring("x", ZZ)\n\n    >>> R.dup_gcd(x**2 - 1, x**2 - 3*x + 2)\n    x - 1\n\n    '
    return dup_inner_gcd(K, g, K)[0]

dataset/ETHPy150Open sympy/sympy/sympy/polys/euclidtools.py dup_gcd/VarMisuse@19/153 `f`->`K`