randMultivariateNormal#

swordfish.function.randMultivariateNormal()#

Return a matrix of random values that follow a multivariate normal distribution.

参数:
  • mean (Constant) -- A vector indicating the mean of a normal distribution.

  • covar (Constant) -- A positive definite matrix indicating the variance-covariance matrix of a multivariate normal distribution.

  • count (Constant) -- A positive number indicating the number of samples to be generated.

  • sampleAsRow (Constant, optional) -- A Boolean value. The default value is true indicating each row of the result is a sample. Otherwise each column of the result is a sample.