[Rcpp-devel] Wrapping uBlas Matrices into Rcpp Matrices

Douglas Bates bates at stat.wisc.edu
Thu Jun 9 18:29:28 CEST 2011


I attach a templated function ublas2rcpp that uses an intermediate to
generate the Rcpp matrix.  This ensures that column major ordering is
used.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RcppUblas.R
Type: application/octet-stream
Size: 777 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110609/87d7b1f8/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RcppUblas.Rout
Type: application/octet-stream
Size: 1713 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110609/87d7b1f8/attachment-0003.obj>


More information about the Rcpp-devel mailing list