MoreEnumerableRandomDouble(Random) Method

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

Definition

Namespace: MoreLinq
Assembly: MoreLinq (in MoreLinq.dll) Version: 4.1.0+0e154ef592f33ce0f6f3d534a9eedee273f0ce72
C#
public static IEnumerable<double> RandomDouble(
	Random rand
)

Parameters

rand  Random
Generator used to produce random numbers

Return Value

IEnumerableDouble
An infinite sequence of random doubles

Exceptions

ArgumentNullExceptionThrown if rand is .

See Also