MultivariateContinuousDistribution.FillSamples Method

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

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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

ArgumentNullException

samples is null.

-or-

random is null.

DimensionMismatchException

The number of columns of samples does not equal the Order of the distribution.

See Also