Click or drag to resize

RandomNumberGenerator Class

Abstract base class for NMath random number generators.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreRandomNumberGenerator
    More...

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
public abstract class RandomNumberGenerator : ICloneable

The RandomNumberGenerator type exposes the following members.

Constructors
  NameDescription
Protected methodRandomNumberGenerator
Default constructor.
Protected methodRandomNumberGenerator(RandomNumberGeneratorUniformRandomNumber)
Constructs a RandomNumberGenerator instance using the given delegate as the underlying uniform random number generator.
Top
Properties
  NameDescription
Public propertyUniformDeviateMethod
Gets and sets the delegate method for generating uniform deviates between zero and one.
Top
Methods
  NameDescription
Public methodClone
Returns a deep copy of a random number generator.
Public methodFill(Double)
Fills the given array of doubles with random values.
Public methodFill(Single)
Fills the given array of floats with random values.
Public methodFill(DoubleComplex)
Fills the given array of double-precision complex numbers with random values.
Public methodFill(DoubleDataBlock)
Fills the given data block with random values.
Public methodFill(FloatComplex)
Fills the given array of single-precision complex numbers with random values.
Protected methodStatic membergammln
Natural log of the gamma function.
Public methodNextDouble
Method for generating a single precision random deviate.
Public methodNextDoubleComplex
Method for generating a double precision complex number random deviate.
Public methodNextFloat
Method for generating a single precision random deviate.
Public methodNextFloatComplex
Method for generating a single precision complex number random deviate.
Public methodReset
Resets the random number generator using a random seed.
Public methodReset(Int32)
Resets the random number generator with the specified seed.
Top
Fields
  NameDescription
Protected fieldrand_
A delegate method for generating uniform deviates between zero and one.
Top
See Also
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreRandomNumberGenerator
    CenterSpace.NMath.CoreRandGenBeta
    CenterSpace.NMath.CoreRandGenBinomial
    CenterSpace.NMath.CoreRandGenExponential
    CenterSpace.NMath.CoreRandGenGamma
    CenterSpace.NMath.CoreRandGenGeometric
    CenterSpace.NMath.CoreRandGenJohnson
    CenterSpace.NMath.CoreRandGenLogNormal
    CenterSpace.NMath.CoreRandGenMTwist
    CenterSpace.NMath.CoreRandGenNormal
    CenterSpace.NMath.CoreRandGenPareto
    CenterSpace.NMath.CoreRandGenPoisson
    CenterSpace.NMath.CoreRandGenTriangular
    CenterSpace.NMath.CoreRandGenUniform
    CenterSpace.NMath.CoreRandGenWeibull