def dup_from_sympy(f, K):
 return dup_strip([K.from_sympy(c) for c in f])

def dup_from_sympy ( f , K ) : return dup_strip ( [ K . from_sympy ( c ) for c in f ] )
convert the ground domain of f from sympy to k .