tmult: Tensor Multiplication Using Any Discrete Transform

tmultR Documentation

Tensor Multiplication Using Any Discrete Transform

Description

Multiplies two 3-mode tensors using any discrete transform.

Usage

tmult(x,y,tform)

Arguments

x

: a 3-mode tensor

y

: a 3-mode tensor

tform

: Any discrete transform. Supported transforms are:

fft: Fast Fourier Transform

dwt: Discrete Wavelet Transform (Haar Wavelet)

dct: Discrete Cosine transform

dst: Discrete Sine transform

dht: Discrete Hadley transform

dwht: Discrete Walsh-Hadamard transform

Value

a Tensor-class object

Author(s)

Kyle Caudle

Randy Hoover

Jackson Cates

Examples

T1 <- rand_tensor(modes=c(2,2,4))
T2 <- rand_tensor(modes=c(2,3,4))
print(tmult(T1,T2,"dst"))

rTensor2 documentation built on May 29, 2024, 8:34 a.m.