tmult | R Documentation |
Performs the tensor product of two 3D tensors using any discrete transform
tmult(x, y, tform)
x |
a 3-mode S3 tensor class object |
y |
a 3-mode S3 tensor class object |
tform |
Any discrete transform. 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 |
S3 tensor object
Kyle Caudle
Randy Hoover
Jackson Cates
Everett Sandbo
M. E. Kilmer, C. D. Martin, and L. Perrone, “A third-order generalization of the matrix svd as a product of third-order tensors,” Tufts University, Department of Computer Science, Tech. Rep. TR-2008-4, 2008
K. Braman, "Third-order tensors as linear operators on a space of matrices", Linear Algebra and its Applications, vol. 433, no. 7, pp. 1241-1253, 2010.
T1 <- t_rand(modes=c(2,2,4))
T2 <- t_rand(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.