Random distributions in Phobos
Jesse Phillips
jessekphillips+D at gmail.com
Wed Apr 25 21:03:09 PDT 2012
On Wednesday, 25 April 2012 at 01:03:39 UTC, Joseph Rushton
Wakeling wrote:
> Hello all,
>
> Currently Phobos only implements the uniform distribution for
> random number generation. It should be relatively trivial to
> extend that to other distributions (exponential, normal,
> Pareto, ...), so I'm considering putting together some code.
>
> Before I start writing, though: are there any standards or
> specifications that are being followed in constructing these
> kinds of mathematical functions for Phobos?
>
> Thanks & best wishes,
>
> -- Joe
I suppose it would make sense for these to make it into phobos,
personally am not familiar with the use case.
Instead of writing the answer to your question here, I've made
changes to the wiki. I think there is a page I'm missing but
don't know where it is so maybe someone else will correct it:
http://www.prowiki.org/wiki4d/wiki.cgi?HelpDProgress#ContributingtoPhobos
More information about the Digitalmars-d
mailing list