Click or drag to resize

AbstractRandomNumberStream Class

Class AbstractRandomNumberStream may be used to construct a RandomNumberStream object which uses a user defined function for the generation of uniformly distributed random numbers in the interval (0, 1).
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreRandomNumberStream
    CenterSpace.NMath.CoreAbstractRandomNumberStream

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public abstract class AbstractRandomNumberStream : RandomNumberStream

The AbstractRandomNumberStream type exposes the following members.

Constructors
 NameDescription
Public methodAbstractRandomNumberStream Constructs an AbstractRandomNumberStream from the given delegate. The delegate should return uniform random numbers in (0, 1).
Top
Properties
 NameDescription
Public propertyRandGenType Gets the type.
(Inherited from RandomNumberStream)
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this generator.
(Inherited from RandomNumberStream)
Public methodDispose Frees the stream data structure.
(Inherited from RandomNumberStream)
Protected methodDispose(Boolean) Frees the stream data structure.
(Inherited from RandomNumberStream)
Public methodFillT(IRandomNumberDistributionT, T) Fills the given array with next random numbers from this stream.
(Inherited from RandomNumberStream)
Public methodFillT(IRandomNumberDistributionT, T, Int32, Int32) Fills the given array with next random numbers from this stream.
(Inherited from RandomNumberStream)
Protected methodFinalize Destructor. Frees resources.
(Overrides RandomNumberStreamFinalize)
Public methodLoadStreamFromFile Sets this generators state to that stored in the given file using the SaveStreamToFile function.
(Inherited from RandomNumberStream)
Public methodNextT Fills a new array with next random numbers from this stream.
(Inherited from RandomNumberStream)
Public methodReset Resets the the generator to the given seed.
(Inherited from RandomNumberStream)
Public methodSaveStreamToFile Save this generators state to a file.
(Inherited from RandomNumberStream)
Top
Fields
 NameDescription
Protected fielddisposed_ Flag indicating if the object is disposed.
(Inherited from RandomNumberStream)
Protected fieldstream_ The MKL stream pointer.
(Inherited from RandomNumberStream)
Protected fieldtype_ The basic random generator type.
(Inherited from RandomNumberStream)
Top
See Also