MersenneTwisterEngine Methods

Methods

AdvanceBlock Advances the engine state to the next block (next entropy window).
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.
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetTypeGets the Type of the current instance.
(Inherited from Object)
LoadState Loads the engine's state from the source span in a stable little-endian format.
Output Returns the native word at the specified index within the current block.
SaveState Saves the engine's state to the destination span in a stable little-endian format.
Seed(ReadOnlySpan<UInt32>) Initializes the generator with an array of keys (init_by_array).
Seed(SeedSequence) Initializes the engine state from a seed sequence.
Seed(UInt32) Initializes the generator with a single seed (init_genrand).
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

See Also