normalDistribution

Provides an infinite range of random numbers distributed according to the normal (Gaussian) distribution with mean mu and standard deviation sigma. If no random number generator is specified, the default rndGen will be used as the source of randomness.

  1. auto normalDistribution(T1 mu, T2 sigma, UniformRNG rng)
  2. auto normalDistribution(T1 mu, T2 sigma)
    normalDistribution
    (
    T1
    T2
    )
    (
    T1 mu
    ,)
    if (
    isNumeric!T1 &&
    isNumeric!T2
    )

Meta