WishartDistribution.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#
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

ArgumentNullExceptionrandom is null.

See Also