MultivariateContinuousDistribution.FillSamples Method

Fills the rows of a matrix with random samples from the distribution.

Definition

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public virtual void FillSamples(
	Random random,
	Matrix<double> samples
)

Parameters

random  Random
A Random object that specifies the uniform random number generator that is to be used to generate the samples.
samples  Matrix<Double>
A vector.

Remarks

This method fills the rows of the matrix specified by samples, with random samples from the distribution.

Exceptions

ArgumentNullExceptionsamples is null.
-or-
random is null.
DimensionMismatchExceptionThe number of columns of samples does not equal the Order of the distribution.

See Also