MatrixNormalSample(Random, MatrixDouble, MatrixDouble, MatrixDouble) Method |
Samples a matrix normal distributed random variable.
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,
Matrix<double> m,
Matrix<double> v,
Matrix<double> k
)
Parameters
- rnd Random
- The random number generator to use.
- m MatrixDouble
- The mean of the matrix normal.
- v MatrixDouble
- The covariance matrix for the rows.
- k MatrixDouble
- The covariance matrix for the columns.
Return Value
MatrixDoublea sequence of samples from the distribution.
Exceptions See Also