Wishart Distribution.Fill Sample Method
Fills a symmetric matrix with a random sample from the distribution.
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public void FillSample(
Random random,
SymmetricMatrix<double> sample
)
Parameters
- random Random
- A Random object that specifies the uniform random number generator that is to be used to generate the samples.
- sample SymmetricMatrix<Double>
- A SymmetricMatrix<T>.
Remarks
This method fills the matrix specified by sample, with a single sample from the distribution.
Exceptions
Argument | sample is null. -or- random is null. |
Dimension | The size of sample does not equal the Order of the distribution. |