matvec-methods | R Documentation |
For 3-tensors only. Stacks the slices along the third mode.
matvec(darr)
## S4 method for signature 'DelayedArray'
matvec(darr)
darr |
DelayedArray object |
This function is an extension of the matvec
by DelayedArray.
This is a wrapper function to unfold
.
matrix with prod(dim(darr)[-m])
rows and dim(darr)[m]
columns
M. Kilmer, K. Braman, N. Hao, and R. Hoover, "Third-order tensors as operators on matrices: a theoretical and computational framework with applications in imaging". SIAM Journal on Matrix Analysis and Applications 2013.
unfold
, unmatvec
library("DelayedRandomArray")
darr <- RandomUnifArray(c(2,3,4))
matvec(darr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.