def dup_monic(f, K):
    if not f:
        return f

    lc = dup_LC(f, K)

    if K.is_one(lc):
        return f
    else:
        return dup_exquo_ground(f, lc, K)
Divide all coefficients by ``LC(f)`` in ``K[x]``.
dataset/ETHPy150Open sympy/sympy/sympy/polys/densetools.py/dup_monic