Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Look at http://r.research.att.com/tools/ RcppArmadillo installs and works perfectly fine for me. Sanjog Misra Associate Professor of Marketing and Applied Statistics Area Coordinator, Applied Statistics Simon School of Business University of Rochester Rochester, NY 14627 P...
Richard, I usually use a list for this (see below). If anybody has a simpler way, I would love to learn about it... Sanjog src.cube = ' Rcpp::List aL(aL_); int nr = Rcpp::as<int>(nr_); int nc = Rcpp::as...
As does mine. > fun <- cxxfunction(signature(M_="numeric"), plugin="RcppArmadillo",body = ' + arma::mat M = Rcpp::as<arma::mat>(M_); + return Rcpp::wrap(symmatl(M)); + ') > set.seed(42) > fun(matrix(rnorm(9),3,3)) [,1] [,2] [,3] [1,] 1.3709584 -0...
I've also written MCMC code using arma and have no trouble overwriting (assuming that's what reaffectation is) matrices. On Jun 15, 2011, at 8:17 PM, "Nicolas Heslot" <nh269 at cornell.edu> wrote: > Well, > > That's sound good...
Can't find what you're looking for? Try searching with Google .