uf3.data.composition.szudzik_unpair

szudzik_unpair(hash_list: numpy.ndarray) numpy.ndarray[source]

Numpy implementation of a pairing function by Matthew Szudzik

Parameters

hash_list (np.ndarray) – n x 1 integer array of hashes.

Returns

n x 2 integer array of pairs.

Return type

pairs (np.ndarray)