![]() | Random |
The RandomNumberStream type exposes the following members.
Name | Description | |
---|---|---|
![]() | RandomNumberStream | Constructs a RandomNumberStream object of the default type with a random seed. |
![]() | RandomNumberStream(RandomNumberStreamBasicRandGenType) | Constructs a RandomNumberStream object of the specified type with a random seed. |
![]() | RandomNumberStream(Boolean) | Protected constructor for creating a RandomNumberStream object with null stream pointer. |
![]() | RandomNumberStream(Int32) | Constructs a RandomNumberStream object of the default type and given seed. |
![]() | RandomNumberStream(RandomNumberStream) | Copy constructor. Resulting object is a deep copy of the given stream. |
![]() | RandomNumberStream(Int32, RandomNumberStreamBasicRandGenType) | Constructs a RandomNumberStream object with the given seed and type. |
Name | Description | |
---|---|---|
![]() | RandGenType | Gets the type. |
Name | Description | |
---|---|---|
![]() | Clone | Creates a deep copy of this generator. |
![]() | Dispose | Frees the stream data structure. |
![]() | Dispose(Boolean) | Frees the stream data structure. |
![]() | FillT(IRandomNumberDistributionT, T) | Fills the given array with next random numbers from this stream. |
![]() | FillT(IRandomNumberDistributionT, T, Int32, Int32) | Fills the given array with next random numbers from this stream. |
![]() | Finalize |
Frees the stream data structure.
(Overrides ObjectFinalize) |
![]() ![]() | GetErrorMessage | Retrieve an error message for the given Enum value. |
![]() | LoadStreamFromFile | Sets this generators state to that stored in the given file using the SaveStreamToFile function. |
![]() | NextT | Fills a new array with next random numbers from this stream. |
![]() | Reset | Resets the the generator to the given seed. |
![]() | SaveStreamToFile | Save this generators state to a file. |
Name | Description | |
---|---|---|
![]() ![]() | DEFAULT_BASIC_RNG | The default uniform generator algorithm. |
![]() | disposed_ | Flag indicating if the object is disposed. |
![]() | stream_ | The MKL stream pointer. |
![]() | type_ | The basic random generator type. |