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 can
| make a multidimensional array by using rcppeigen and ndarray. Does anyone know
| how to do it? Thank you.

I think we just discussed that the other day on this list: use a standard
NumericVector, and set a dimension attribute.

Dirk

| 
| Aileen Lin
| 
| View my profile: au.linkedin.com/in/aileen2
| 
| 
| ----------------------------------------------------------------------
| _______________________________________________
| Rcpp-devel mailing list
| [email protected]
| https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-- 
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com  
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to