t_svd_reconstruct: Reconstruct Tensor From TSVD

Description Usage Arguments Value See Also Examples

View source: R/rTensor_Decomp.R

Description

Reconstruct the original 3-Tensor after it has been decomposed into U, S, V via t_svd.

Usage

1

Arguments

L

list that is an output from t_svd

Value

a 3-Tensor

See Also

t_svd

Examples

1
2
3
tnsr <- rand_tensor(c(10,10,10))
tsvdD <- t_svd(tnsr)
1 - fnorm(t_svd_reconstruct(tsvdD)-tnsr)/fnorm(tnsr)

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