4 ms·
I also have written about using pairing functions to extract multiple random numbers from a single rand() call Your method is more concrete than mine, mine is
by goldenkey 5y ago
I also have written about using pairing functions to extract multiple random numbers from a single rand() call
Your method is more concrete than mine, mine is math, yours is binary-based CS.
https://churchofthought.org/blog/2019/07/24/an-ordered-variant-of-the-cantor-pairing-function/ https://churchofthought.org/blog/2019/07/24/an-ordered-varia...