def dup_cancel(f, g, K, include=True):
 return dmp_cancel(f, g, 0, K, include=include)

def dup_cancel ( f , g , K , include = True ) : return dmp_cancel ( f , g , 0 , K , include = include )
cancel common factors in a rational function f/g .