(f)
return dmp_to_tuple(f.rep, f.lev)
Convert ``f`` to a tuple representation with native coefficients.

        This is needed for hashing.
Convert ``f`` to a tuple representation with native coefficients.
Convert f to a tuple representation with native coefficients .
def to_tuple(f):
        """
        Convert ``f`` to a tuple representation with native coefficients.

        This is needed for hashing.
        """
        return dmp_to_tuple(f.rep, f.lev)
def to_tuple ( f ) : return dmp_to_tuple ( f . rep , f . lev )