Method: Division#__simplify__
- Defined in:
- lib/symcalc.rb
#__simplify__ ⇒ Object
540 541 542 543 544 545 546 547 548 |
# File 'lib/symcalc.rb', line 540 def __simplify__ @lside = @lside.__simplify__ @rside = @rside.__simplify__ if @lside == EquationValue.new(0) return EquationValue.new(0) else return self end end |