Learn R Programming

TensorTools (version 1.0.0)

Multilinear Algebra

Description

A set of tools for basic tensor operators. A tensor in the context of data analysis in a multidimensional array. The tools in this package rely on using any discrete transformation (e.g. Fast Fourier Transform (FFT)). Standard tools included are the Eigenvalue decomposition of a tensor, the QR decomposition and LU decomposition. Other functionality includes the inverse of a tensor and the transpose of a symmetric tensor. Functionality in the package is outlined in Kernfeld, E., Kilmer, M., and Aeron, S. (2015) .

Copy Link

Version

Install

install.packages('TensorTools')

Monthly Downloads

156

Version

1.0.0

License

GPL-3

Maintainer

Kyle A Caudle

Last Published

October 17th, 2024

Functions in TensorTools (1.0.0)

tEIGdwht

Eigenvalue decomposition of 3-mode tensor using the discrete Walsh Hadley transform.
polar

Polar/Jordan form of matrices P and D
tINVdht

Performs inverse of 3-mode tensor using the discrete Hadley transform.
tQRdwht

QR decomposition of a 3D tensor using the discrete Walsh Hadley transform
tLUdst

LU decomposition of a 3D tensor using the discrete sine transform
tLUdwht

LU decomposition of a 3D tensor using the discrete Walsh Hadley transform
tQRdwt

QR decomposition of a 3D tensor using the discrete wavelet transform
tEIGdwt

Eigenvalue decomposition of 3-mode tensor using the discrete wavelet transform.
tEIGfft

Eigenvalue decomposition of 3-mode tensor using the discrete fast fourier transform.
tLUdwt

LU decomposition of a 3D tensor using the discrete wavelet transform
tLUfft

LU decomposition of a 3D tensor using the discrete fast fourier transform
tINVdwht

Performs inverse of 3-mode tensor using the discrete Walsh Hadley transform.
tINVdst

Performs inverse of 3-mode tensor using the discrete sine transform.
tEIGdct

Eigenvalue decomposition of 3-mode tensor using the discrete cosine transform.
tEIGdht

Eigenvalue decomposition of 3-mode tensor using the discrete Hadley transform.
tQRfft

QR decomposition of a 3D tensor using the fast fourier transform
tLUdct

LU decomposition of a 3D tensor using the discrete cosine transform
tmean

Determines the mean of a 3D tensor along mode 2
tmult

Tensor multiplication
tSVD

Singular value decomposition (SVD)
tLUdht

LU decomposition of a 3D tensor using the discrete Hadley transform
tINVdwt

Performs inverse of 3-mode tensor using the discrete wavelet transform.
tQRdht

QR decomposition of a 3D tensor using the discrete Hadley transform
tINVfft

Performs inverse of 3-mode tensor using the discrete fast fourier transform.
tLU

LU decomposition of a 3D tensor
tLDA

Linear discriminate analysis (LDA) on a 3D tensor
tQR

QR decomposition of a 3D tensor
tQRdst

QR decomposition of a 3D tensor using the discrete sine transform
t_rand

Create a random tensor
t_tpose

Tensor transpose
tSVDdht

Singular value decomposition (SVD) of a 3D tensor using the discrete Hadley transform
tSVDdct

Singular value decomposition (SVD) of a 3D tensor using the discrete cosine transform
tQRdct

QR decomposition of a 3D tensor using the discrete cosine transform
tSVDdwht

Singular value decomposition (SVD) of a 3D tensor using the discrete Walsh Hadley transform
tSVDdst

Singular value decomposition (SVD) of a 3D tensor using the discrete sine transform
tSVDdwt

Singular value decomposition (SVD) of a 3D tensor using the discrete wavelet transform
tSVDfft

Singular value decomposition (SVD) of a 3D tensor using the fast fourier transform
tDWT

Discrete Wavelet Transform
QR

QR Decomposition of a Complex Matrix without pivoting.
as.Tensor

Converts an array to an S3 tensor
Mnist

Subset of MNIST training and testing data.
LU

LU Decomposition of a Complex Matrix
tEIG

Tensor Eigenvalue Decomposition Using any Discrete Transform
Tensor

Creates an S3 class for a tensor
tIDWT

Inverse Wavelet Transform
tINV

Performs inverse of 3-mode tensor using any discrete transform.
tINVdct

Performs inverse of 3-mode tensor using the discrete cosine transform.
fnorm

The Frobenius Norm
raytrace

Subset of raytrace data
tEIGdst

Eigenvalue decomposition of 3-mode tensor using the discrete sine transform.