Re: [Rcpp-devel] ndarray + eigen

2013-03-13 Thread Dirk Eddelbuettel
On 13 March 2013 at 14:49, Aileen Lin wrote: | Hi there, | | I need to create a multidimensional array. I tried arma::cube. It is very good | for 3d array, but I need to create 4d/5d array and cube seems not the answer. I | found a c++ library 'ndarray' that depends on eigen. I am not sure how I

[Rcpp-devel] ndarray + eigen

2013-03-12 Thread Aileen Lin
Hi there, I need to create a multidimensional array. I tried arma::cube. It is very good for 3d array, but I need to create 4d/5d array and cube seems not the answer. I found a c++ library 'ndarray' that depends on eigen. I am not sure how I can make a multidimensional array by using rcppeigen and