R/rcpp_log_dmvnorm2.R
rcpp_log_dmvnorm2.Rd
Calculate log likelihood for a multivariate normal
rcpp_log_dmvnorm2(inv_S, mu, x, S)
inv_S | inverse covariance matrix |
---|---|
mu | mean vector |
x | data vector |
S | covariance matrix, ie, the inverse of inv_S |