Module: Axiom::Function::Unary::Invertible
- Included in:
- Connective::Negation
- 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
TODO:
move this to classes that use it
Return the inverse function
117 118 119 |
# File 'lib/axiom/function/unary.rb', line 117 def inverse self.class.inverse.new(operand).memoize(:inverse, self) end |