[Rcpp-devel] 4-dimensional array

Jeffrey Pollock jeffpollock9 at gmail.com
Wed Apr 18 12:35:18 CEST 2018


The Eigen tensor module (easily available via RcppEigen as far as I can
tell) might be worth a look:
http://eigen.tuxfamily.org/index.php?title=Tensor_support

On Wed, Apr 18, 2018 at 3:13 AM, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> 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.
>
> Dirk
>
> --
> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20180418/bdbbffa0/attachment.html>


More information about the Rcpp-devel mailing list