Evolution/Evolution/Utils/RandomGenerator.cs
/// <summary>
/// Returns an infinite sequence of random doubles in the range [min,max]
/// </summary>
/// <param name="min">The minimum.</param>
/// <param name="max">The maximum.</param>
/// <returns></returns>
Returns an infinite sequence of random doubles in the range [min,max]
Returns an infinite sequence of random doubles in the range [ min max ]
public IEnumerable<double> DoubleSequence(double min, double max)
        {
            while (true)
            {
                yield return NextDouble(min, max);
            }
        }
public IEnumerable < double > DoubleSequence ( double min , double max ) { while ( true ) { yield return NextDouble ( min , max ) ; } }
Returns an infinite sequence of random doubles in the range [min,max]
Returns an infinite sequence of random doubles in the range [ min max ]
None
min
double
None
max
double
None