Class XorShiftRandom
- Namespace
- Backdash.Synchronizing.Random
- Assembly
- Backdash.dll
Xorshift random number generators (shift-register generators) implementation IDeterministicRandom
public sealed class XorShiftRandom : IDeterministicRandom
- Inheritance
-
XorShiftRandom
- Implements
- Inherited Members
Constructors
XorShiftRandom()
public XorShiftRandom()
Methods
Next()
Returns a random unsigned integer.
public uint Next()
Returns
UpdateSeed(int, int)
Updates the seed for the current random instance
public void UpdateSeed(int newState, int extraState = 0)