On 8/2/11 6:42 AM, Jesse Phillips wrote:
auto arr = new int[1024]; fill(arr, randomCover(iota(0,1024), rndGen));
Note that this produces a random permutation of the numbers 0 to 1023, which may or may not be what you want.
David
On 8/2/11 6:42 AM, Jesse Phillips wrote:
auto arr = new int[1024]; fill(arr, randomCover(iota(0,1024), rndGen));
Note that this produces a random permutation of the numbers 0 to 1023, which may or may not be what you want.
David