(f)
Returns all monomials from ``f``.
Returns all monomials from ``f``.
Returns all monomials from f .
def all_monoms(f):
        """Returns all monomials from ``f``. """
        if not f.lev:
            n = dup_degree(f.rep)

            if n < 0:
                return [(0,)]
            else:
                return [ (n - i,) for i, c in enumerate(f.rep) ]
        else:
            raise PolynomialError('multivariate polynomials not supported')
def all_monoms ( f ) : if not f . lev : n = dup_degree ( f . rep ) if n < 0 : return [ ( 0 , ) ] else : return [ ( n - i , ) for i , c in enumerate ( f . rep ) ] else : raise PolynomialError ( 'multivariate polynomials not supported' )