Click or drag to resize

Xorshift(Boolean, Int64, Int64, Int64, Int64) Constructor

Initializes a new instance of the Xorshift class using a seed based on time and unique GUIDs.

Namespace: Altaxo.Calc.Random
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Xorshift(
	bool threadSafe,
	long a,
	long c,
	long x1,
	long x2
)

Parameters

threadSafe  Boolean
if set to true , the class is thread safe.
a  Int64
The multiply value
c  Int64
The initial carry value.
x1  Int64
The initial value if X1.
x2  Int64
The initial value if X2.
Remarks
c must be less than a.
See Also