RandomExtensions Methods

Methods

CorrelatedSamples Generates a series of random variables with the specified correlation matrix.
Fill(Random, Vector<Double>, ContinuousDistribution) Fills a vector with random samples from the specified continuous distribution.
Fill(Random, Vector<Double>, DiscreteDistribution) Fills a vector with random samples from the specified discrete distribution.
Fill(Random, Double[], ContinuousDistribution) Fills an array with random samples from the specified continuous distribution.
Fill(Random, Int32[], DiscreteDistribution) Fills an array with random samples from the specified discrete distribution.
Fill(Random, Span<Double>, ContinuousDistribution) Fills a span with random samples from the specified continuous distribution.
Fill(Random, Span<Int32>, DiscreteDistribution) Fills a span with random samples from the specified discrete distribution.
Fill(Random, Double[], Int32, Int32) Fills part of an array with uniform random samples.
Obsolete
Fill(Random, Int32[], Int32, Int32) Fills part of an array with random integer samples.
Obsolete
Fill(Random, Double[], Int32, Int32, ContinuousDistribution) Fills part of an array with random samples from the specified continuous distribution.
Obsolete
Fill(Random, Int32[], Int32, Int32, DiscreteDistribution) Fills part of an array with random samples from the specified discrete distribution.
Obsolete
Next Returns a sample from the specified discrete distribution.
NextDouble Returns a sample from the specified continuous distribution.

See Also