def dup_primitive(f, K):
    if not f:
        return K.zero, f

    cont = dup_content(f, K)

    if K.is_one(cont):
        return cont, f
    else:
        return cont, dup_quo_ground(f, cont, K)
Decorate function fun
dataset/ETHPy150Open sympy/sympy/sympy/polys/densetools.py/dup_primitive--crossover with--dataset/ETHPy150Open trevorstephens/gplearn/gplearn/skutils/__init__.py/deprecated._decorate_fun