Click or drag to resize

MoreEnumerableRandomDouble Method (Random)

Returns an infinite sequence of random double values between 0.0 and 1.0 using the supplied random number generator.

Namespace:  MoreLinq
Assembly:  MoreLinq (in MoreLinq.dll) Version: 2.7.0
Syntax
public static IEnumerable<double> RandomDouble(
	Random rand
)

Parameters

rand
Type: SystemRandom
Generator used to produce random numbers

Return Value

Type: IEnumerableDouble
An infinite sequence of random doubles
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if rand is .
See Also