Specifies the population covariance matrix and mean vector used by RandomMoments, RandomVector, Rank, SqrDeterminant. and Sqrt.
The specified population covariance matrix must be non-negative definite.
Syntax
object.SpecifyPopulation (CovarianceMatrix, MeanVector)
The SpecifyPopulation method syntax has the following parts:
Part |
Description |
object |
An object of type AmosRanGen. |
CovarianceMatrix |
Input. One-dimensional array of type Double. CovarianceMatrix is the population covariance matrix. CovarianceMatrix contains the first element of the first row, the first two elements of the second row, and so on. CovarianceMatrix is passed as a 1-dimensional array of type Double. |
MeanVector |
(Optional) Input. One-dimensional array of type Double. MeanVector is the population mean vector. MeanVector is passed as a 1-dimensional array of type Double. If MeanVector is omitted, the population mean vector is assumed to be zero. |