uniform01Distribution

Provides an infinite sequence of random numbers uniformly distributed in the interval [0, 1). If no RNG is specified, uniformDistribution will use the default generator rndGen.

  1. auto uniform01Distribution(UniformRNG rng)
    uniform01Distribution
    (
    T = double
    UniformRNG
    )
    (
    UniformRNG rng
    )
    if (
    isFloatingPoint!T &&
    isUniformRNG!UniformRNG
    )
  2. auto uniform01Distribution()

Meta