Generate uniform and non-uniform random number distributions.
For a list of all members of this type, see Random Members.
System.Object
System.Random
Imsl.Stat.Random
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The non-uniform distributions are generated from a uniform distribution. By default, this class uses the uniform distribution generated by the base class Random. If the multiplier is set in this class then a multiplicative congruential method is used. The form of the generator is
Alternatively, one can select a 32-bit or 64-bit Mersenne Twister generator by first instantiating MersenneTwister or MersenneTwister64. These generators have a period of and a 623-dimensional equidistribution property. See Matsumoto et al. 1998 for details.
The generation of uniform (0,1) numbers is done by the method NextFloat.
Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll)
Random Members | Imsl.Stat Namespace | Example