Wishart Distribution.Sample Method
Returns a random sample from the distribution.
Definition
Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A symmetric matrix that is a sample of the distribution.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public SymmetricMatrix<double> Sample(
Random random
)
Parameters
- random Random
- A Random object that specifies the uniform random number generator that is to be used to generate the samples.
Return Value
SymmetricMatrix<Double>A symmetric matrix that is a sample of the distribution.
Remarks
This method returns a vector that contains a single sample from the distribution.
Exceptions
ArgumentNullException | random is null. |