tmult {rTensor2} | R 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"))
[Package rTensor2 version 2.0.0 Index]