Generator of uniformly distributed random numbers. Based on the default random generator. Instance members are thread safe!
More...
|
| RandGeneratorThreadSafe () |
| Initializes a new instance of random generator, using a time-dependent default seed value. More...
|
|
| RandGeneratorThreadSafe (int seed) |
| Initializes a new instance of random generator, using the specified seed value. More...
|
|
override double | NextDouble () |
| A double-precision floating point number greater than or equal to 0.0, and LESS THAN 1.0. More...
|
|
override double | NextDouble (double maxValue) |
| A double-precision floating point number greater than or equal to 0.0, and LESS than the specified maximum. More...
|
|
override double | NextDouble (double minValue, double maxValue) |
| A double-precision floating point number greater than or equal to the specified minimum, and LESS THAN the specified maximum. More...
|
|
override double | NextDoubleInclusive () |
| A double-precision floating point number greater than or equal to 0.0, and LESS OR EQUAL than 1.0. More...
|
|
override double | NextDoubleInclusive (double maxValue) |
| A double-precision floating point number greater than or equal to 0.0, and LESS OR EQUAL than the specified maximum. More...
|
|
override double | NextDoubleInclusive (double minValue, double maxValue) |
| A double-precision floating point number greater than or equal to the specified minimum, and LESS OR EQUAL than the specified maximum. More...
|
|
override int | Next () |
| Returns a nonnegative random number. More...
|
|
override int | Next (int maxValue) |
| Returns a nonnegative random number LESS THAN the specified maximum. More...
|
|
override int | Next (int minValue, int maxValue) |
| Returns a random number within a specified range (lower bound inclusive, UPPER BOUND EXCLUSIVE). More...
|
|
override int | NextInclusive (int maxValue) |
| Returns a nonnegative random number LESS OR EQUAL the specified maximum. More...
|
|
override int | NextInclusive (int minValue, int maxValue) |
| Returns a random number within a specified range (lower bound inclusive, upper bound INCLUSIVE). More...
|
|
override void | NextBytes (byte[] buffer) |
| Fills the elements of a specified array of bytes with random numbers. More...
|
|
Public Member Functions inherited from IG.Num.RandomGeneratorSystem |
| RandomGeneratorSystem () |
| Initializes a new instance of random generator, using a time-dependent default seed value. More...
|
|
| RandomGeneratorSystem (int seed) |
| Initializes a new instance of random generator, using the specified seed value. More...
|
|
override double | NextDouble () |
| A double-precision floating point number greater than or equal to 0.0, and LESS THAN 1.0. More...
|
|
override int | Next () |
| Returns a nonnegative random number. More...
|
|
override int | Next (int maxValue) |
| Returns a nonnegative random number LESS THAN the specified maximum. More...
|
|
override int | Next (int minValue, int maxValue) |
| Returns a random number within a specified range (lower bound inclusive, UPPER BOUND EXCLUSIVE). More...
|
|
override void | NextBytes (byte[] buffer) |
| Fills the elements of a specified array of bytes with random numbers. More...
|
|
Generator of uniformly distributed random numbers. Based on the default random generator. Instance members are thread safe!