Wishart Distribution Constructor
Constructs a new WishartDistribution object.
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
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
| Argument | degreesOfFreedom is nonfinite or is less than or equal to the order of scaleMatrix minus one. -or- scaleMatrix has order zero. |
| Argument | scaleMatrix is null. |
| Argument | scaleMatrix contains nonfinite elements. |
| Matrix | scaleMatrix is not positive definite. |