Click or drag to resize

Xorshift(Int32, Boolean, Int64, Int64, Int64, Int64) 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,
	long a,
	long c,
	long x1,
	long x2
)

Parameters

seed  Int32
The seed value.
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