[Rcpp-devel] 4-dimensional array

Dirk Eddelbuettel edd at debian.org
Wed Apr 18 04:13:36 CEST 2018

On 18 April 2018 at 01:56, Avraham Adler wrote:
| May not be possible. See
| https://stackoverflow.com/questions/16105548/4-dimensional-matrix-in-armadillo

Avi is correct.

Armadillo, as clearly documented, knows

  vector   1d
  matrix   2d
  cube     3d
  fields   lists of matrices or cubes

plus sp_mat for sparse matrices.  No 4d arrays.


http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org

More information about the Rcpp-devel mailing list