fast_dmvnorm | R Documentation |
Compute multivariate Normal density (log-value) evaluated at each row of a given matrix. The function does not check the arguments, use at your own risk.
fast_dmvnorm(x, mean, covariance)
x |
A matrix of size n times d |
mean |
A vector of size d specifying the mean vector of the multivariate Normal |
covariance |
A matrix of size d x d specifying the covariance matrix of the multivariate Normal |
A vector of n evaluations of the multivariate Normal log-pdf, one for each row of x
x <- fast_rmvnorm(2, rep(0, 5), diag(1,5,5)) fast_dmvnorm(x, rep(0, 5), diag(1,5,5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.