Method: MoreMath::CantorPairingFunction.cantor_pairing_inv_f
- Defined in:
- lib/more_math/cantor_pairing_function.rb
.cantor_pairing_inv_f(z) ⇒ Object
21 22 23 |
# File 'lib/more_math/cantor_pairing_function.rb', line 21 def self.cantor_pairing_inv_f(z) z * (z + 1) / 2 end |