Module: Axiom::Function::Unary::Invertible
- Includes:
- Adamantium
- Included in:
- Connective::Negation, Numeric::SquareRoot
- Defined in:
- lib/axiom/function/unary.rb
Overview
Mixin for invertable unary functions
Instance Method Summary collapse
-
#inverse ⇒ Function
Return the inverse function.
Instance Method Details
#inverse ⇒ Function
Return the inverse function
113 114 115 |
# File 'lib/axiom/function/unary.rb', line 113 def inverse self.class.inverse.new(operand).memoize(inverse: self) end |