Method: Division#__simplify__
- Defined in:
- lib/symcalc.rb
#__simplify__ ⇒ Object
510 511 512 513 514 515 516 517 518 |
# File 'lib/symcalc.rb', line 510 def __simplify__ @lside = @lside.__simplify__ @rside = @rside.__simplify__ if @lside == EquationValue.new(0) return EquationValue.new(0) else return self end end |