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 wrote:
>
> On 18 April 2018 at 01:56, Avraham Adler wrote:
> | May not be possible. Se
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
pl
May not be possible. See
https://stackoverflow.com/questions/16105548/4-dimensional-matrix-in-armadillo
Avi
On Tue, Apr 17, 2018 at 8:38 PM Shaami wrote:
> Dear Prof.
>
> I am not finding how to introduce a 4-dimensional array using
> RcppArmadillo. Could you please provide a simple example of
Dear Prof.
I am not finding how to introduce a 4-dimensional array using
RcppArmadillo. Could you please provide a simple example of introducing a
4-dimensional array and how to store the values in it? For example, exactly
the same as I did for the cube as follows
arma::cube X(N, M, Q, fill::ze