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)

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] .