Learn R Programming

rTensor2 (version 2.0.0)

tLUdct: Tensor LU Decomposition Using the Discrete Cosine Transform

Description

Performs a LU decomposition of 3-mode tensor using the discrete Cosine transform.

Usage

tLUdct(tnsr)

Value

a Tensor-class object

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

L: The lower triangular tensor object (\(n x n x k\))

U: The upper triangular tensor object (\(n x n x k\))

Arguments

tnsr

: a 3-mode tensor

Author

Kyle Caudle kyle.caudle@sdsmt.edu

Examples

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

Run the code above in your browser using DataLab