Learn R Programming

rTensor2 (version 2.0.0)

tLUdht: Tensor LU Decomposition Using the Discrete Hartley Transform

Description

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

Usage

tLUdht(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(tLUdht(T))

Run the code above in your browser using DataLab