Click or drag to resize

Xorshift(Int32, Boolean) 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,
	bool threadSafe
)

Parameters

seed  Int32
The seed value.
threadSafe  Boolean
if set to true, the class is thread safe.
Remarks
Uses the default values of:
  • a = 916905990
  • c = 13579
  • X1 = 77465321
  • X2 = 362436069
See Also