Description Usage Arguments Details Value References See Also Examples
Unfolding of a tensor by mapping the kth mode (specified through parameter m
), and all other modes onto the column space. This the most common type of unfolding operation for Tucker decompositions and its variants. Also known as k-mode matricization.
1 2 3 4 |
tnsr |
the Tensor instance |
m |
the index of the mode to unfold on |
k_unfold(tnsr,m=NULL)
matrix with x@modes[m]
rows and prod(x@modes[-m])
columns
T. Kolda and B. Bader, "Tensor decomposition and applications". SIAM Applied Mathematics and Applications 2009.
matvec-methods
and unfold-methods
1 2 | tnsr <- rand_tensor()
matT2<-rs_unfold(tnsr,m=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.