XorshiftDoubles(Double, Int32, UInt64, UInt64, UInt64, UInt64) Method |
Fills an array with 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 void Doubles(
double[] values,
int seed,
ulong a = 916905990,
ulong c = 13579,
ulong x1 = 362436069,
ulong x2 = 77465321
)
Parameters
- values Double
- The array to fill with random values.
- 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.
RemarksSupports being called in parallel from multiple threads.
See Also