Random |
public abstract class RandomGenerator
The RandomGenerator type exposes the following members.
Name | Description | |
---|---|---|
![]() | RandomGenerator | Constructs the random generator with a seed value of 0. |
![]() | RandomGenerator(String) | Constructs the random generator with a seed using the hash value of a given string. |
![]() | RandomGenerator(UInt32) | Constructs the random generator with a seed value. |
Name | Description | |
---|---|---|
![]() ![]() | DefaultGenerator | The default random generator used to produce random values. |
![]() | Maximum | The maximum value of the random number which can be returned. |
![]() | Seed | The seed value. |
Name | Description | |
---|---|---|
![]() ![]() | CopySign | Return first number with sign of second number |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | Long | The generation function. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
![]() ![]() | UniqueSeed | Generate an unique seed using the default seed generator, which is currently RNGCryptoServiceProvider |
Name | Description | |
---|---|---|
![]() ![]() | DBL_MAX | Maximum value of a System.Double. |
![]() ![]() | DBL_MAX_EXP | Maximum binary exponent of a Double. |
![]() ![]() | DBL_MIN | Smallest positive value of a System.Double. |
![]() ![]() | defaultRandomGenerator | This is the default state of the art random genenerator to produce random numbers. |
![]() ![]() | M_LN2 | Natural logarithm of 2. |
![]() | max_val | Uniform long int values within [0...max_val]. |
![]() | seed | The seed of the random generator. |