mir.random - my GSoC project

Seb via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 2 06:12:41 PDT 2016


On Thursday, 2 June 2016 at 10:56:36 UTC, Martin Nowak wrote:
> On 04/23/2016 04:17 PM, Seb wrote:
>> This project is about adding non-uniform random generators to 
>> mir and hopefully eventually to Phobos.
>
> I just happen to need a gaussian random number generator right 
> now. Is there already some WIP code

My focus for the first six week is the transformed density 
rejection with inflection points algorithm (being able to 
generate any distribution based on it's CDF). Unfortunately that 
won't help you, but yeah there is WIP

https://github.com/libmir/mir/pull/222

> or would you have an intermediate recommendation?

Yep I can also recommend the NumPy-port dstats:

https://github.com/DlangScience/dstats


More information about the Digitalmars-d mailing list