Pseudo-random numbers in [0, n), covering all numbers in n steps?

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 26 07:15:11 PST 2016


On Friday, 26 February 2016 at 14:59:43 UTC, Andrei Alexandrescu 
wrote:
> On 02/25/2016 06:46 PM, Nicholas Wilson wrote:
>> The technical name for the property of distribution you 
>> describe is
>>   k-Dimensional Equidistribution (in this case k=1).
>> I would suggest taking a look at http://www.pcg-random.org.
>> They claim to have both arbitrary period and k-Dimensional 
>> Equidistribution
>
> Thanks, that's indeed closest! A hefty read. Anyone inclined to 
> work on a PCG random implementation? -- Andrei

Dstep could be used to port the C++ version if needed.




More information about the Digitalmars-d mailing list