Learn R Programming

LTAR (version 0.1.0)

Ltrans: Tensor Transformation

Description

Performs a tensor transformation of a 3D tensor using the discrete cosine transform along mode 3.

Usage

Ltrans(tnsr)

Value

a Tensor-class object that has been transformed using the DCT.

Arguments

tnsr

: A 3D tensor

Author

Kyle Caudle

Randy Hoover

Jackson Cates

Examples

Run this code
require(rTensor)
data(tensor)
tnsr <- as.tensor(tensor)
trans_tensor <- Ltrans(tnsr)
# print first lateral slice
trans_tensor[,1,]

Run the code above in your browser using DataLab