Implements a Gaussian RNG using the Uniform() method.
Ejemplo n.º 1
0
 /// <summary>
 /// Constructs the RNG-object.
 /// </summary>
 /// <param name="bufferSize">Number of random bytes the buffer holds.</param>
 /// <param name="retrieveTrigger">Refill buffer asynchronously when its size falls below this.</param>
 /// <param name="randFallback">Fallback RNG to be used when buffer is empty.</param>
 /// <param name="numFallback">Use fallback RNG for this many bytes before trying to fill buffer again.</param>
 public RandomDotOrgAsync(int bufferSize, int retrieveTrigger, Random randFallback, int numFallback)
     : base(bufferSize, retrieveTrigger, randFallback, numFallback)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs the RNG-object.
 /// </summary>
 /// <param name="bufferSize">Number of random bytes the buffer holds.</param>
 /// <param name="randFallback">Fallback RNG to be used when buffer is empty.</param>
 /// <param name="numFallback">Use fallback RNG for this many bytes before trying to fill buffer again.</param>
 public RandomDotOrg(int bufferSize, Random randFallback, int numFallback)
     : base(bufferSize, randFallback, numFallback)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructs the PRNG-object and uses another RNG for seeding.
 /// </summary>
 public KISS(Random rand)
     : base(rand)
 {
 }