Click or drag to resize

XorshiftDoubles(Int32, Int32, UInt64, UInt64, UInt64, UInt64) Method

Returns an array of random numbers greater than or equal to 0.0 and less than 1.0.

Namespace: Altaxo.Calc.Random
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double[] Doubles(
	int length,
	int seed,
	ulong a = 916905990,
	ulong c = 13579,
	ulong x1 = 362436069,
	ulong x2 = 77465321
)

Parameters

length  Int32

[Missing <param name="length"/> documentation for "M:Altaxo.Calc.Random.Xorshift.Doubles(System.Int32,System.Int32,System.UInt64,System.UInt64,System.UInt64,System.UInt64)"]

seed  Int32

[Missing <param name="seed"/> documentation for "M:Altaxo.Calc.Random.Xorshift.Doubles(System.Int32,System.Int32,System.UInt64,System.UInt64,System.UInt64,System.UInt64)"]

a  UInt64  (Optional)

[Missing <param name="a"/> documentation for "M:Altaxo.Calc.Random.Xorshift.Doubles(System.Int32,System.Int32,System.UInt64,System.UInt64,System.UInt64,System.UInt64)"]

c  UInt64  (Optional)

[Missing <param name="c"/> documentation for "M:Altaxo.Calc.Random.Xorshift.Doubles(System.Int32,System.Int32,System.UInt64,System.UInt64,System.UInt64,System.UInt64)"]

x1  UInt64  (Optional)

[Missing <param name="x1"/> documentation for "M:Altaxo.Calc.Random.Xorshift.Doubles(System.Int32,System.Int32,System.UInt64,System.UInt64,System.UInt64,System.UInt64)"]

x2  UInt64  (Optional)

[Missing <param name="x2"/> documentation for "M:Altaxo.Calc.Random.Xorshift.Doubles(System.Int32,System.Int32,System.UInt64,System.UInt64,System.UInt64,System.UInt64)"]

Return Value

Double

[Missing <returns> documentation for "M:Altaxo.Calc.Random.Xorshift.Doubles(System.Int32,System.Int32,System.UInt64,System.UInt64,System.UInt64,System.UInt64)"]

Remarks
Supports being called in parallel from multiple threads.
See Also