Class: Danica::Exponential
- Defined in:
- lib/danica/exponential.rb
Instance Attribute Summary
Attributes inherited from Common
Instance Method Summary collapse
Methods inherited from Operator
Methods inherited from Common
#calculate, #to_gnu, #to_tex, #valued?, variables, #variables_hash, variables_names, #variables_value_hash
Constructor Details
This class inherits a constructor from Danica::Operator
Instance Method Details
#to_f ⇒ Object
5 6 7 |
# File 'lib/danica/exponential.rb', line 5 def to_f Math.exp(exponent.to_f) end |