Description Usage Arguments Details Value See Also Examples
View source: R/multivariatenormal.R
Function to evaluate a multivariate Normal density of each row of the given matrix, where the covariance matrix is specified through a Cholesky factor of its inverse.
1 | dmvnorm_cholesky_inverse(x, mean, cholesky_inverse)
|
x |
is a n x d matrix of real values |
mean |
is the mean vector |
cholesky_inverse |
is a Cholesky factor of the inverse of the covariance matrix; for instance obtained
as |
This function does not check anything (i.e. that the given covariance is PSD). Thus it is faster than functions in standard packages, but more risky.
a vector of n log-density evaluations
rmvnorm
, rmvnorm_cholesky
, dmvnorm
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.