Click or drag to resize

MT19937 Class

Random number generator using the Mersenne Twister 19937 algorithm. This is the default random number generator used. To change the default, set the static type value of Demo3D.Common.Random.GeneratorRegistry.DefaultGeneratorType.
Inheritance Hierarchy

Namespace:  Demo3D.Common.Random
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public class MT19937 : Random

The MT19937 type exposes the following members.

Constructors
  NameDescription
Public methodMT19937
Initializes a new instance of the MersenneTwister class, using a time-dependent default seed value.
Public methodMT19937(Int32)
Initializes a new instance of the MersenneTwister class, using the specified seed value.
Top
Methods
See Also