ttm: Tensor times matrix

Description Usage Arguments References

Description

Calculates the n-mode product of a tensor and a matrix. Given a tensor X with dimensions I_1, I_2, ..., I_n, I_n+1, ... I_N and a matrix U with dimensions J, I_n, the resulting tensor after multiplication will have dimension I_1, I_2, ..., J, I_n+1, ... I_N.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
ttm(x, u, mode)

## S4 method for signature 'dtensor,Matrix,numeric'
ttm(x, u, mode)

## S4 method for signature 'dtensor,matrix,numeric'
ttm(x, u, mode)

## S4 method for signature 'sptensor,Matrix,numeric'
ttm(x, u, mode)

## S4 method for signature 'sptensor,matrix,numeric'
ttm(x, u, mode)

Arguments

x

tensor

u

matrix

mode

mode along tensor to perform multiplication

References

T. G. Kolda and B. W. Bader, Tensor Decompositions and Applications, SIAM Review 51(3):455-500, September 2009


tensorr documentation built on May 2, 2019, 3:26 a.m.