Virtual PhotonicsThe SerializableMersenneTwister type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
SerializableMersenneTwister |
Initializes a new instance of the MersenneTwister class using
the current time as the seed.
| |
SerializableMersenneTwister(Boolean) |
Initializes a new instance of the MersenneTwister class using
the current time as the seed.
| |
SerializableMersenneTwister(Int32) |
Initializes a new instance of the MersenneTwister class.
| |
SerializableMersenneTwister(Int32, Boolean) |
Initializes a new instance of the MersenneTwister class.
|
Methods
Name | Description | |
---|---|---|
Create | ||
DoSample |
Returns a random number between 0.0 and 1.0.
(Overrides AbstractRandomNumberGeneratorDoSample .) | |
Equals | (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.) | |
FromFile |
methods to save current state of random number generator
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Next | (Inherited from AbstractRandomNumberGenerator.) | |
Next(Int32) | (Inherited from AbstractRandomNumberGenerator.) | |
Next(Int32, Int32) | (Inherited from AbstractRandomNumberGenerator.) | |
NextBytes | (Inherited from AbstractRandomNumberGenerator.) | |
NextDouble | Returns a random number between 0.0 and 1.0. (Inherited from Random.) | |
NextDouble(Int32) | (Inherited from AbstractRandomNumberGenerator.) | |
Sample | (Inherited from AbstractRandomNumberGenerator.) | |
ToFile | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
NextDouble |
Extension method to generate a random number within a specified range
(Defined by RNGExtensions.) |
Properties
Name | Description | |
---|---|---|
MT |
variable within algorithm needed to resume series if interruptes
| |
MTI |
variable within algorithm needed to resume series if interruptes
|
See Also