Normal distribution

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 26 11:11:15 PST 2016


On Friday, 26 February 2016 at 18:23:41 UTC, Andrei Alexandrescu 
wrote:
> On 02/20/2016 09:06 AM, Edwin van Leeuwen wrote:
>> On Saturday, 20 February 2016 at 14:01:22 UTC, Andrei 
>> Alexandrescu wrote:
>>> Do we have a good quality converter of uniform numbers to
>>> Gaussian-distributed numbers around? -- Andrei
>>
>> There is one in dstats:
>> https://github.com/DlangScience/dstats/blob/master/source/dstats/random.d#L266
>
> Thanks! I ended up using this. Is someone working on adding 
> Gaussians to phobos? -- Andrei

https://github.com/WebDrake/hap is intended as a replacement for 
std.random and includes distributions (see e.g. 
https://github.com/WebDrake/hap/blob/master/source/hap/random/distribution.d#L441). Also, remember http://dconf.org/2015/talks/wakeling.html


More information about the Digitalmars-d mailing list