inverse_hu_pairing: Invert the Hopcroft-Ullman pairing function.

Description Usage Arguments Value Examples

Description

This function is the inverse to the Hopcroft-Ullman pairing function. See the MathWorld article for more information.

Usage

1

Arguments

z

A non-negative integer

Value

A vector of non-negative integers (x, y) such that cantor_pairing(x, y) == z.

Examples

1

BenjaK/pairing documentation built on May 5, 2019, 2:40 p.m.