Skip to content
Prev 2458 / 10988 Next

[Rcpp-devel] Wrapping uBlas Matrices into Rcpp Matrices

On Tue, Jun 7, 2011 at 11:15 AM, Douglas Bates <bates at stat.wisc.edu> wrote:
If you check the types overview,
http://www.boost.org/doc/libs/1_46_1/libs/numeric/ublas/doc/types_overview.htm,
you will see that you need to specify column-major ordering (default
is row-major) to be able to map a ublas matrix to an R matrix
structure.