Learn R Programming

rTensor2 (version 2.0.0)

tSVDdwt: Tensor Singular Value Decomposition Using the Discrete Wavelet Transform

Description

Performs a tensor singular value decomposition on any 3-mode tensor using the discrete wavelet transform (Haar Wavelet).

Usage

tSVDdwt(tnsr)

Value

a Tensor-class object

If the SVD is performed on a \(m\) x \(n\) x \(k\) tensor, the components in the returned value are:

U: The left singular value tensor object (\(m\) x \(m\) x \(k\))

V: The right singular value tensor object (\(n\) x \(n\) x \(k\))

S: A diagonal tensor (\(m\) x \(n\) x \(k\))

Arguments

tnsr

: a 3-mode tensor

Author

Kyle Caudle

Randy Hoover

Jackson Cates

Examples

Run this code
T <- rand_tensor(modes=c(2,3,4))
print(tSVDdwt(T))

Run the code above in your browser using DataLab