IMSL C# Numerical Library

MersenneTwister.NextDouble Method 

Returns a random number between 0.0 and 1.0.

public virtual double NextDouble();

Return Value

A double greater than or equal to 0.0, and less than 1.0.

Implements

BaseGenerator.NextDouble

Remarks

Only the first 32 bits of the double are pseudorandom.

See Also

MersenneTwister Class | Imsl.Stat Namespace