t-methods | R Documentation |
Implements the tensor transpose based on block circulant matrices (Kilmer et al. 2013) for 3-tensors.
## S4 method for signature 'Tensor'
t(x)
x |
a 3-tensor |
t(x)
tensor transpose of x
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.
tnsr <- rand_tensor()
identical(t(tnsr)@data[,,1],t(tnsr@data[,,1]))
identical(t(tnsr)@data[,,2],t(tnsr@data[,,5]))
identical(t(t(tnsr)),tnsr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.