RandomNumberGenerator.randfn

Generates a url=https://en.wikipedia.org/wiki/Normal_distributionnormally-distributed/url pseudo-random number, using Box-Muller transform with the specified mean and a standard deviation. This is also called Gaussian distribution.

struct RandomNumberGenerator
@nogc nothrow
double
randfn
(
in double mean = 0
,
in double deviation = 1
)

Meta