Skip to content
Back to formatted view

Raw Message

Message-ID: <BANLkTimqfcangGTOkM-PSGeL1szKuoyfJA@mail.gmail.com>
Date: 2011-06-09T16:29:28Z
From: Douglas Bates
Subject: [Rcpp-devel] Wrapping uBlas Matrices into Rcpp Matrices
In-Reply-To: <BANLkTikQm+ZbWEgnTdsxERZJAJGgDNsO0g@mail.gmail.com>

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>