ttm | R Documentation |
Performing k-mode matrix product of a tensor to a matrix
ttm(ten, A, k)
ten |
A multi-dimensional array with the k mode dimension aaa |
A |
A matrix with dimension bbb by aaa |
k |
An integer specifying the tensor mode to perform k-mode matrix product |
A multi-dimensional array with the k mode dimension bbb
ttm(array(1:24,c(3,4,2)), matrix(1:4,nrow =2), 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.