Mir Random [WIP]
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Tue Nov 22 17:28:50 PST 2016
On 11/22/16 7:36 PM, Joseph Rushton Wakeling wrote:
>
> * random _generators_, i.e. sources of uniformly distributed random bits:
>
> - random _engines_ (seedable, pseudo-random algorithms)
>
> - random _devices_ (non-deterministic sources of uniformly
> distributed bits)
>
> * random _distributions_, which transform uniformly-distributed random
> bits
> into variates with some other type and distribution
>
> - note _this includes uniformly-distributed integers_!
>
> - also uniformly-distributed floats, enums, etc.
>
> - and also non-uniform distributions
>
> * random _algorithms_, i.e. algorithms in the sense of std.random, but
> where
> their popFront() includes random decision-making
>
> - randomCover, randomSample, etc.
Yah, I think that would be nice. -- Andrei
More information about the Digitalmars-d
mailing list