(self)
return {m for m in self.monomials if m != Monomial({}, 0)}
Get the monomials of this polynomial.
Get the monomials of this polynomial.
Get the monomials of this polynomial .
def all_monomials(self) -> Iterable[Monomial]:
        """
        Get the monomials of this polynomial.
        """
        return {m for m in self.monomials if m != Monomial({}, 0)}
def all_monomials ( self ) -> Iterable [ Monomial ] : return { m for m in self . monomials if m != Monomial ( { } , 0 ) }