amprod returns the k-mode product of an array with a
amprod(A, M, k)
A real valued array.
A real matrix.
An integer. The mode along which
The k-mode product of a tensor A with a matrix M
results in a tensor whose k-mode unfolding is M times
the k-mode unfolding of A. That is
mat(amprod(A,M,k)) = M %*% mat(A,k). More details of the
k-mode product can be found in
An array whose k-mode unfolding is
Kolda, T. G., & Bader, B. W. (2009). Tensor decompositions and applications. SIAM review, 51(3), 455-500.
atrans for applying multiple k-mode
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.