def dmp_ground_primitive(f, u, K):
    if not u:
        return dup_primitive(f, K)

    if dmp_zero_p(f, u):
        return K.zero, f

    cont = dmp_ground_content(f, u, K)

    if K.is_one(cont):
        return cont, f
    else:
        return cont, dmp_quo_ground(f, cont, u, K)
Build a GlobalName object from a config dict.
dataset/ETHPy150Open sympy/sympy/sympy/polys/densetools.py/dmp_ground_primitive--crossover with--dataset/ETHPy150Open polaris-gslb/polaris-gslb/polaris_health/state/globalname.py/GlobalName.from_config_dict