WishartSample Method (Matrix, Double)
|
Static method which generates sample of Wishart distribution with user specified generator and parameters.
Namespace:
FinMath.Statistics.Distributions
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public static Matrix Sample(
Matrix scale,
double degreesOfFreedom
)
Parameters
- scale
- Type: FinMath.LinearAlgebraMatrix
Scale matrix. - degreesOfFreedom
- Type: SystemDouble
Number of degrees of freedom. Must be greater than scale.Rows - 1.
Return Value
Type:
MatrixSample matrix if Scale matrix is positive definite or null otherwise.
See Also