Returns a sequence of random samples of the specified length from the distribution.
Namespace:
Extreme.Statistics.Distributions
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public IEnumerable<double> GetRandomSequence(
Random random,
int length
)
Public Function GetRandomSequence (
random As Random,
length As Integer
) As IEnumerable(Of Double)
public:
IEnumerable<double>^ GetRandomSequence(
Random^ random,
int length
)
member GetRandomSequence :
random : Random *
length : int -> IEnumerable<float>
Parameters
- random
- Type: SystemRandom
A Random object that specifies the
uniform random number generator that is to be used to generate the samples. - length
- Type: SystemInt32
The length of the sequence.
Return Value
Type:
IEnumerableDoubleAn
IEnumerableDouble.
This method uses the random number generator
specified by random to
generate an enumerable sequence of random samples from the distribution.
Reference