Properties

Link copied to clipboard
abstract var antithetic: Boolean

Tells the stream to start producing antithetic variates

Functions

Link copied to clipboard
open fun advanceSubStreams(n: Long)

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.

Link copied to clipboard
abstract fun advanceToNextSubStream()

Positions the RNG at the beginning of its next substream

Link copied to clipboard
abstract fun resetStartStream()

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.

Link copied to clipboard
abstract fun resetStartSubStream()

Resets the position of the RNG at the start of the current substream