Click or drag to resize

MersenneTwisterDoubleSequence Method

Returns an infinite sequence 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.3572.0 (4.8.3572.0)
Syntax
C#
public static IEnumerable<double> DoubleSequence(
	int seed
)

Parameters

seed  Int32
The seed value used to initialize the generator.

Return Value

IEnumerableDouble
An enumerable sequence of uniformly distributed doubles greater than or equal to 0.0 and less than 1.0.
Remarks
Supports being called in parallel from multiple threads, but the result must be enumerated from a single thread each.
See Also