IMSL C# Numerical Library

MersenneTwister Members

MersenneTwister overview

Public Instance Constructors

MersenneTwister Overloaded. Initializes a new instance of the MersenneTwister class.

Public Instance Methods

Clone Returns a clone of this object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Next Returns a nonnegative pseudorandom int.
NextDouble Returns a random number between 0.0 and 1.0.
NextFloat Returns a random number between 0.0 and 1.0.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

MersenneTwister Class | Imsl.Stat Namespace | Example