(self, left, right)
return self.Div(left, right)
Utility function that builds a division
Utility function that builds a division
Utility function that builds a division
def _division(self, left, right):
        """Utility function that builds a division"""
        mgr = self.env.formula_manager
        if left.is_constant() and right.is_constant():
            return mgr.Real(Fraction(left.constant_value()) /
                            Fraction(right.constant_value()))
        return self.Div(left, right)
def _division ( self , left , right ) : mgr = self . env . formula_manager if left . is_constant ( ) and right . is_constant ( ) : return mgr . Real ( Fraction ( left . constant_value ( ) ) / Fraction ( right . constant_value ( ) ) ) return self . Div ( left , right )