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 .) |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() ![]() | FromFile |
methods to save current state of random number generator
|
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | Next | (Inherited from AbstractRandomNumberGenerator.) |
![]() | Next(Int32) | (Inherited from AbstractRandomNumberGenerator.) |
![]() | Next(Int32, Int32) | (Inherited from AbstractRandomNumberGenerator.) |
![]() | NextBytes | (Inherited from AbstractRandomNumberGenerator.) |
![]() | ![]() | Returns a random number between 0.0 and 1.0. (Inherited from ![]() |
![]() | NextDouble(Int32) | (Inherited from AbstractRandomNumberGenerator.) |
![]() | Sample | (Inherited from AbstractRandomNumberGenerator.) |
![]() | ToFile | |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
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