Dew MtxVec NET
TRngStreamIndependence Type
Summary
Defines the method used to get random number series independence.

Unit
RndGenerators

Declaration
TRngStreamIndependence = (rsiNone, rsiLeapfrog, rsiBlockSplitting);
 Value  Description 
rsiNone All random streams will return the series of numbers. 
rsiLeapfrog Random streams will be sample interleaved.

If there are three random streams defined, they will be filled from one continues random number stream like this:

Original : 0 1 2 3 4 5 6 7 8 9 10 11 Leapfrog 1: 0 3 6 9 Leapfrog 2: 1 4 7 10 Leapfrog 3: 2 5 8 11
Leapfroging is not very suitable, if there is a need for a large number of independent streams.

 
rsiBlockSplitting Random streams will be block interleaved. The following example is for block size 2 and random stream count 3. The block size is independent from the number of samples that are generated on each call from each of the streams.
Original : 0 1 2 3 4 5 6 7 8 9 10 11 Leapfrog 1: 0 1 6 7 Leapfrog 2: 2 3 8 9 Leapfrog 3: 4 5 10 11
 
Description
Defines the method used to obtain several independent random streams using the same random generator with the same seed. If the method is not supported by the specified random basic random generator, an error will be raised.

Copyright 2008 Dew Research
http://www.dewresearch.com