Multivariate Continuous Distribution.Fill Samples 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#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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. |
Dimension | The number of columns of samples does not equal the Order of the distribution. |