public class MersenneTwister : RandomPublic Class MersenneTwister
Inherits Randompublic ref class MersenneTwister : public Randomtype MersenneTwister =
class
inherit Random
end| MersenneTwister | Initializes a new instance of the MersenneTwister class. |
| MersenneTwister(UInt32) | Initializes a new instance of the MersenneTwister class, using the specified seed value. |
| MersenneTwister(UInt32) | Initializes a new instance of the MersenneTwister class, using the specified seed value. |
| 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) |
| Init(UInt32) | Initializes the MersenneTwister object using the specified seed value. |
| Init(UInt32) | Initializes the MersenneTwister object using the specified seed value. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Next |
Returns a nonnegative random number.
(Overrides RandomNext) |
| Next(Int32) |
Returns a nonnegative random number less than the specified maximum.
(Overrides RandomNext(Int32)) |
| Next(Int32, Int32) |
Returns a random number within a specified range.
(Overrides RandomNext(Int32, Int32)) |
| NextBytes |
Fills the elements of a specified array of bytes with random numbers.
(Overrides RandomNextBytes(Byte)) |
| NextDouble |
Returns a random number between 0.0 and 1.0.
(Overrides RandomNextDouble) |
| NextUInt | Returns a nonnegative random number. |
| NextUInt(UInt32) | Returns a nonnegative random number less than the specified maximum. |
| NextUInt(UInt32, UInt32) | Returns a random number within a specified range. |
| Sample | Returns a random floating-point number between 0.0 and 1.0. (Inherited from Random) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |