Skip to content
Prev 10356 / 10988 Next

[Rcpp-devel] dmvnorm() of mvtnorm using RcppArmadillo

Please try the line below:

f(k) = *Rcpp::as<double>*(dmvnorm(x.row(k), mean,  sigma, give_log));

Best,

KK
On Wed, Dec 18, 2019 at 8:27 PM Shaami <nzshaam at gmail.com> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20191218/0ef405c9/attachment.html>