Skip to content

cantorPairing

cantorPairing(x, y): number

Defined in: cantor.ts:5

Performs Cantor pairing on two non-negative integers to produce a unique non-negative integer.

number

number

number