Calculate log likelihood for a multivariate normal

rcpp_log_dmvnorm2(inv_S, mu, x, S)

Arguments

inv_S

inverse covariance matrix

mu

mean vector

x

data vector

S

covariance matrix, ie, the inverse of inv_S