Description Usage Arguments Details Value References See Also Examples
k-mode folding of a matrix into a Tensor. This is the inverse funtion to k_unfold
in the m mode. In particular, k_fold(k_unfold(tnsr, m),m,getModes(tnsr))
will result in the original Tensor.
1 |
mat |
matrix to be folded into a Tensor |
m |
the index of the mode that is mapped onto the row indices |
modes |
the modes of the output Tensor |
This is a wrapper function to fold
.
Tensor object with modes given by modes
T. Kolda, B. Bader, "Tensor decomposition and applications". SIAM Applied Mathematics and Applications 2009.
k_unfold-methods
, fold
, unmatvec
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.