def dmp_ff_lcm(f, g, u, K):
    h = dmp_quo(dmp_mul(f, g, u, K),
                dmp_gcd(f, g, u, K), u, K)

    return dmp_ground_monic(h, u, K)
Computes polynomial LCM over a field in `K[X]`.
dataset/ETHPy150Open sympy/sympy/sympy/polys/euclidtools.py/dmp_ff_lcm