This function computes the density of a multivariate normal distribution.
dmvnorm_cpp(x, mean, Sigma, log = FALSE)A numeric, the density value.
A numeric, a quantile vector of length p.
A numeric, the mean vector of length p.
A matrix, the covariance matrix of dimension p x p.
A logical, if TRUE the logarithm of the density value is
returned.
By default, log = FALSE.
This function performs no input checks. See dmvnorm
for the version with input checks.