(self)
return Monomial(temp_variables, Monomial._rationalize_if_possible(self.coeff)).clean()
Clone the monomial.
Clone the monomial.
Clone the monomial .
def clone(self):
        """
        Clone the monomial.
        """
        temp_variables = {i: self.variables[i] for i in self.variables}
        return Monomial(temp_variables, Monomial._rationalize_if_possible(self.coeff)).clean()
def clone ( self ) : temp_variables = { i : self . variables [ i ] for i in self . variables } return Monomial ( temp_variables , Monomial . _rationalize_if_possible ( self . coeff ) ) . clean ( )