Sandia National Laboratories

MATLAB Tensor Toolbox Glossary

A tensor is a multidimensional or N-way array. A 1-way tensor is a vector and a 2-way tensor is a matrix. A 3-way tensor is a cube of data. And so on.

A sparse tensor is a tensor where only a small fraction of the elements are nonzero. In this case, it is more efficient to store just the nonzeros and their indices.

A tensor that is decomposed as a Tucker Operator comprises a core tensor multiplied in each mode by a matrix. For a three-way array, this means the tensor X can be written as:

xijk = Σr Σs Σt grst air bjs ckt for all i,j,k

Thus, the tensor X may be stored in terms of its components, the core tensor G and the factor matrices A,B,C.

A tensor that is decomposed as a Kruskal Operator comprises a component matrix for each mode and an optional scaling vector. For a three-way array, this means the tensor X can be written as:

xijk = Σr λr air bjr ckr for all i,j,k.

Thus, the tensor X may be stored in terms of its components, the vector λ and the factor matrices A,B,C.

Tensor objects in MATLAB — The tensor toolbox allows for the manipulation of multiway arrays.

Contacts
Tamara Kolda
(tgkolda@sandia.gov)
(925)294-4769

Brett Bader
(bwbader@sandia.gov)
(505)845-0514

Related Links
Tensor Toolbox Homepage