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.10.0
Syntax public static IEnumerable<double> RandomDouble(
Random rand
)
Public Shared Function RandomDouble (
rand As Random
) As IEnumerable(Of Double)
public:
static IEnumerable<double>^ RandomDouble(
Random^ rand
)
static member RandomDouble :
rand : Random -> IEnumerable<float>
Parameters
- rand
- Type: SystemRandom
Generator used to produce random numbers
Return Value
Type:
IEnumerableDoubleAn infinite sequence of random doubles
Exceptions See Also