Method: Exp#__derivative__

Defined in:
lib/symcalc.rb

#__derivative__(variable: nil) ⇒ Object



565
566
567
# File 'lib/symcalc.rb', line 565

def __derivative__ variable: nil
  return Exp.new(@power) * @power.derivative(variable: variable)
end