Click or drag to resize

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

Parameters

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. Note: c must be less than a.
See Also