WishartDistribution Constructor

Constructs a new WishartDistribution object.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public WishartDistribution(
	double degreesOfFreedom,
	SymmetricMatrix<double> scaleMatrix
)

Parameters

degreesOfFreedom  Double
The degrees of freedom.
scaleMatrix  SymmetricMatrix<Double>
A SymmetricMatrix<T> that is positive definite and represents the scale matrix.

Exceptions

ArgumentOutOfRangeException

degreesOfFreedom is less than or equal to zero.

MatrixNotPositiveDefiniteException

scaleMatrix is not positive definite.

See Also