tmult | R Documentation |
Multiplies two 3-mode tensors using any discrete transform.
tmult(x,y,tform)
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 |
a Tensor-class object
Kyle Caudle
Randy Hoover
Jackson Cates
T1 <- rand_tensor(modes=c(2,2,4))
T2 <- rand_tensor(modes=c(2,3,4))
print(tmult(T1,T2,"dst"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.