RNStream
Instances of RNStream are what is made by the factory. Each created stream should be 2 to 127 {@literal 2^127} steps ahead of the last stream created.
Properties
If true, the stream will automatically participate in having its stream advanced to the next sub-stream via stream managers
This stream generates antithetic variates if and only if {\tt antithetic = true}.
Returns the antithetic value of the previous value
If true, the stream will automatically participate in having its stream reset to its start stream via stream managers
If the stream has been provided by a RNStreamProvider, then this returns the reference to the provider.
Functions
Advances the stream by n sub-streams, leaving it at the start of the sub-stream that n successive calls to advanceToNextSubStream would reach. A value of 0 leaves the stream unchanged. The default implementation advances one sub-stream at a time; generators with jump-ahead support should override with an O(log n) skip-ahead.
Positions the RNG at the beginning of its next substream
Returns a copy of the stream that has exactly the same state
The resetStartStream method will position the RNG at the beginning of its stream. This is the same location in the stream as assigned when the RNG was created and initialized.
Resets the position of the RNG at the start of the current substream
Returns the seed for the start of the sub-stream