def content(f):
        domain = f.ring.domain
        cont = domain.zero
        gcd = domain.gcd

        for coeff in f.itercoeffs():
            cont = gcd(cont, coeff)

        return cont
Returns GCD of polynomial's coefficients.
dataset/ETHPy150Open sympy/sympy/sympy/polys/rings.py/PolyElement.content