Random

Fisher–Yates Shuffle

rupinder | 18-Jun-2016 | C#, VB.Net, C, C++, PHP

Fisher–Yates shuffle, also known as Knuth shuffle, is an algorithm for generating a random permutation of a finite set—in plain terms, ...

ISO C Random

rupinder | 27-Sep-2015 | C#, VB.Net, C, C++

This algorithm generates a random number.

Mersenne Twister

rupinder | 08-Mar-2016 | C#, VB.Net, C, C++

The Mersenne Twister is a pseudorandom number generator (PRNG). It is by far the most widely used general-purpose PRNG. Its name derives from the ...

Multiply With Carry

rupinder | 27-Sep-2015 | C#, VB.Net, C, C++

This algorithm generates a random number.

XOR Shift

rupinder | 27-Sep-2015 | C#, VB.Net, C, C++

This algorithm generates a random number.