Threefry4x64Engine Methods

Methods

Advance Advances the RNG state by the specified number of outputs.
AdvanceBlock() Advances the engine state to the next block (next entropy window).
AdvanceBlock(UInt64) Advances the counter by the specified number of blocks.
EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Fill Fills the destination span with values from a contiguous range of indices within the current block.
GenerateBlock() Computes the output block for the current key and counter.
GenerateBlock(ReadOnlySpan<UInt64>, ReadOnlySpan<UInt64>, Span<UInt64>) Generates a block of random output by applying the Threefry bijection.
GetCounter Copies the current counter into the provided destination span.
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetKey Copies the current key into the provided destination span.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Jump Jumps the RNG forward by the specified number of primary jump strides.
LoadState Loads the engine's state from the source span in a stable little-endian format.
LongJump Jumps the RNG forward by the specified number of long jump strides.
Output Returns the native word at the specified index within the current block.
ResetCounter Resets the counter to all zeros.
SaveState Saves the engine's state to the destination span in a stable little-endian format.
Seed(ReadOnlySpan<UInt64>) Directly sets the Threefry key with counter initialized to zero.
Seed(SeedSequence) Initializes the engine state from a seed sequence.
Seed(ReadOnlySpan<UInt64>, ReadOnlySpan<UInt64>) Directly sets the Threefry key and counter.
SetCounter Sets the counter to the specified value.
SetKey Sets the key to the specified value.
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

See Also