Click or drag to resize

Xorshift(Int32) Constructor

Initializes a new instance of the Xorshift class.

Namespace: Altaxo.Calc.Random
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Xorshift(
	int seed
)

Parameters

seed  Int32
The seed value.
Remarks
If the seed value is zero, it is set to one. Uses the value of ThreadSafeRandomNumberGenerators to set whether the instance is thread safe. Uses the default values of:
  • a = 916905990
  • c = 13579
  • X1 = 77465321
  • X2 = 362436069
See Also