rTensor (version 1.4)

matvec-methods: Tensor Matvec Unfolding

Description

For 3-tensors only. Stacks the slices along the third mode. This is the prevalent unfolding for T-SVD and T-MULT based on block circulant matrices.

Usage

matvec(tnsr)

# S4 method for Tensor matvec(tnsr)

Arguments

tnsr

the Tensor instance

Value

matrix with prod(x@modes[-m]) rows and x@modes[m] columns

Details

matvec(tnsr)

References

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.

See Also

k_unfold-methods and unfold-methods

Examples

Run this code
# NOT RUN {
tnsr <- rand_tensor(c(2,3,4))
matT1<- matvec(tnsr)
# }

Run the code above in your browser using DataLab