Skip to content
Prev 780 / 10988 Next

[Rcpp-devel] Is there an Rcpp class for arrays with > 2 dimensions?

Le 15/06/10 20:08, Douglas Bates a ?crit :
We do not have invented that wheel. It should not be too hard to 
generalize what we do with Rcpp::Matrix

You can ignore the member functions that have diag in their names.

although, we would probably also have to extend the Vector::operator() 
for more dimensions, and probably also Vector::offset.

I feel somewhat lazy here, but if you or someone else decides to pick it 
up, I will have a look.

Romain