Click or drag to resize

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

Parameters

seed  Int32
The seed value.
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
If the seed value is zero, it is set to one. Uses the value of ThreadSafeRandomNumberGenerators to set whether the instance is thread safe.
See Also