On 14 October 2011 at 17:43, Slava Razbash wrote: | Is there a manual that describes how to convert from Rcpp types to | Armadillo/RcppArmadillo types and then back to R or Rcpp types?
The vignette of the package shows this: use the as<>() and wrap() converters. The Rcpp documentation has lots more on this. The RcppArmadillo package has examples. Eight other CRAN packages use RcppArmadillo, and thereby provide more examples. This mailing list has an an archive full of examples. There are dozens of blogs posts showing it too. Lastly, no, I have not had time to write a book or manual on RcppArmadillo. | Also, just to confirm, is matrix multiplication in RcppArmadillo | really as easy as C = A * B? Correct. And Armadillo itself has very good and extensive documentation you should consult as well. Dirk -- "Outside of a dog, a book is a man's best friend. Inside of a dog, it is too dark to read." -- Groucho Marx _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
