class Axiom::Function::Numeric::Exponentiation
A class representing a exponentiation function
Public Class Methods
operation()
click to toggle source
Return the Exponentiation
operation
@example
Exponentiation.operation # => :**
@return [Symbol]
@api public
# File lib/axiom/function/numeric/exponentiation.rb, line 21 def self.operation :** end
Public Instance Methods
inverse()
click to toggle source
Return the inverse function
@example
inverse = exponentiation.inverse
@return [Exponentiation]
@api public
# File lib/axiom/function/numeric/exponentiation.rb, line 33 def inverse self.class.new(left, Division.new(1, right)).memoize(inverse: self) end