Description Usage Arguments Value Note References See Also Examples

View source: R/rTensor_Decomp.R

TSVD for a 3-Tensor. Constructs 3-Tensors `U, S, V`

such that `tnsr = t_mult(t_mult(U,S),t(V))`

. `U`

and `V`

are orthgonal 3-Tensors with orthogonality defined in Kilmer et al. (2013), and `S`

is a 3-Tensor consists of facewise diagonal matrices. For more details on the TSVD, consult Kilmer et al. (2013).

1 | ```
t_svd(tnsr)
``` |

`tnsr` |
3-Tensor to decompose via TSVD |

a list containing the following:

`U`

the left orthgonal 3-Tensor

`V`

the right orthgonal 3-Tensor

`S`

the middle 3-Tensor consisting of face-wise diagonal matrices

Computation involves complex values, but if the inputs are real, then the outputs are also real. Some loss of precision occurs in the truncation of the imaginary components during the FFT and inverse FFT.

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.

1 2 | ```
tnsr <- rand_tensor()
tsvdD <- t_svd(tnsr)
``` |

jamesyili/rTensor documentation built on May 17, 2017, 9:44 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.