I'd like to multiply each matrix (13x10) of an array (13x10x10) dfarray = array((1),dim=c(13,10,10)) with another matrix of the same size (13x10) mat=matrix(2,13,10).
I tried the approach posted here, but after dfarray1 <- mat %*% dfarray (after changing the dimensions as described in the post mentioned) the length changes (1300 vs. 1000) as well as the dimensions of my array.
I feel like I'm on the right track but somehow the last bit is missing.
Any help would be much appreciated!
tensorApackage?