Implements a Gaussian RNG using the Uniform() method.
 /// <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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #3
0
 /// <summary>
 /// Constructs the PRNG-object and uses another RNG for seeding.
 /// </summary>
 public KISS(Random rand)
     : base(rand)
 {
 }