Cantor's pairing / unpairing for non diagonal unordered pairs
Follow up to the previous article about a simple pairing / unpairing from logical indices
Mar 22, 20243 min read102

Search for a command to run...
Articles tagged with #cpp
Follow up to the previous article about a simple pairing / unpairing from logical indices

How to go from a (x,y) pair of integers to a positive integer, and how to perform the reverse operation
