Random distributions in Phobos

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Tue Apr 24 18:03:25 PDT 2012


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


More information about the Digitalmars-d mailing list