InverseWishartSample(Random, Double, MatrixDouble) Method |
Samples an inverse Wishart distributed random variable by sampling
a Wishart random variable and inverting the matrix.
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static Matrix<double> Sample(
Random rnd,
double degreesOfFreedom,
Matrix<double> scale
)
Parameters
- rnd Random
- The random number generator to use.
- degreesOfFreedom Double
- The degree of freedom (ν) for the inverse Wishart distribution.
- scale MatrixDouble
- The scale matrix (Ψ) for the inverse Wishart distribution.
Return Value
MatrixDoublea sample from the distribution.
See Also