Module: Axiom::Function::Binary::Invertible
- Defined in:
- lib/axiom/function/binary.rb
Overview
Mixin for invertable binary functions
Instance Method Summary collapse
-
#inverse ⇒ Function
Return the inverse function.
Instance Method Details
#inverse ⇒ Function
Return the inverse function
100 101 102 |
# File 'lib/axiom/function/binary.rb', line 100 def inverse self.class.inverse.new(left, right).memoize(:inverse, self) end |