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.RandomAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double[] Doubles(
int length,
int seed,
ulong a = 916905990,
ulong c = 13579,
ulong x1 = 362436069,
ulong x2 = 77465321
)
Parameters
- length Int32
- The number of random values to generate.
- seed Int32
- The seed value used to initialize the generator.
- a UInt64 (Optional)
- The multiplier parameter.
- c UInt64 (Optional)
- The carry parameter.
- x1 UInt64 (Optional)
- The first xorshift state value.
- x2 UInt64 (Optional)
- The second xorshift state value.
Return Value
DoubleAn array of random numbers greater than or equal to 0.0 and less than 1.0.
RemarksSupports being called in parallel from multiple threads.
See Also