Click or drag to resize

SkipAheadStream Class

Class SkipAheadStream represents a single skip-ahead stream.
Inheritance Hierarchy

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

The SkipAheadStream type exposes the following members.

Constructors
  NameDescription
Public methodSkipAheadStream
Constructs a SkipAheadStream object based on a given original stream.
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
Frees the stream data structure.
(Inherited from RandomNumberStream.)
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.)
Public fieldStatic memberSupportedGeneratorTypes
A list of basic random number generator types which support skip-ahead streams.
Protected fieldtype_
The basic random generator type.
(Inherited from RandomNumberStream.)
Top
Remarks
Skip-ahead is method for generating several independent streams of random numbers in which the independent sequences are created by splitting the original sequence into k non-overlapping blocks, where k is the number of independent streams. Each stream generates numbers only from its corresponding block. SkipAheadRandomStreams
See Also