Performs the Tucker product between an array and a list of matrices.
Usage
atrans(A, B)
Arguments
A
An array of dimension \(K\).
B
A list of matrices of length \(K\). It must be that
ncol(B[[k]]) == dim(A)[k].
Author
Peter Hoff.
Details
The Tucker product between a list of matrices B and an array A
is formally equivalent to performing the \(k\)-mode product between
A and each list element in B. For example, if the dimension of
A is three, then atrans(A,B) =
amprod(amprod(amprod(A,B[[1]],1),B[[2]],2),B[[3]],3). The ordering of this
\(k\)-mode product does not matter. See Kolda and Bader (2009) for
details.
References
Kolda, T. G., & Bader, B. W. (2009). Tensor decompositions and applications. SIAM review, 51(3), 455-500. tools:::Rd_expr_doi("10.1137/07070111X")
See Also
amprod for multiplying one matrix along one mode of an
array.