k_unfold-methods | R Documentation |
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.
k_unfold(darr, m)
## S4 method for signature 'DelayedArray'
k_unfold(darr, m)
darr |
DelayedArray object |
m |
the index of the mode to unfold on |
This function is an extension of the k_unfold
by DelayedArray.
This is a wrapper function to unfold
.
See also k_unfold(darr, m=NULL)
matrix with dim(darr)[m]
rows and prod(dim(darr)[-m])
columns
T. Kolda, B. Bader, "Tensor decomposition and applications". SIAM Applied Mathematics and Applications 2009.
unfold
, k_fold
library("DelayedRandomArray")
darr <- RandomUnifArray(c(2,3,4))
rs_unfold(darr, m=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.