SuperLinq SuperLinq
SuperLinq SuperLinq
DocFX + Singulink = ♥

Search Results for

    Method RandomDouble

    RandomDouble()

    Returns an infinite sequence of random double values between 0.0 and 1.0.

    Declaration
    public static IEnumerable<double> RandomDouble()
    Returns
    Type Description
    IEnumerable<double>

    An infinite sequence of random doubles

    Remarks

    This operator uses deferred execution and streams its result.

    RandomDouble(Random)

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

    Declaration
    public static IEnumerable<double> RandomDouble(Random rand)
    Parameters
    Type Name Description
    Random rand

    Random generator used to produce values

    Returns
    Type Description
    IEnumerable<double>

    An infinite sequence of random doubles

    Remarks

    This operator uses deferred execution and streams its result.

    Exceptions
    Type Condition
    ArgumentNullException

    rand is null.

    © SuperLinq Authors. All rights reserved.