Tensors

The Wolfram Language's uniform representation of vectors and matrices as lists automatically extends to tensors of any rank, allowing the Wolfram Language's powerful list manipulation functions immediately to be applied to tensors, both numerical and symbolic.

(RefLink[Table, paclet:ref/Table]) — construct a tensor of any rank from an expression

(RefLink[Array, paclet:ref/Array]) — construct a tensor from a function: (RefLink[Array, paclet:ref/Array])[f,dims]

(RefLink[SparseArray, paclet:ref/SparseArray]) — specify a tensor in a sparse position⟶value form

(RefLink[Dimensions, paclet:ref/Dimensions]) — the dimensions of a tensor

(RefLink[ArrayDepth, paclet:ref/ArrayDepth]) — the rank of a tensor

(RefLink[ArrayQ, paclet:ref/ArrayQ]) — test whether an object is a tensor of a given rank

(RefLink[MatrixForm, paclet:ref/MatrixForm]) — display a tensor of any rank

(RefLink[KroneckerDelta, paclet:ref/KroneckerDelta]) — identity tensor

(RefLink[LeviCivitaTensor, paclet:ref/LeviCivitaTensor]) — totally antisymmetric tensor

(RefLink[Band, paclet:ref/Band]) — specify banded structure in a sparse array

(RefLink[Transpose, paclet:ref/Transpose]) — transpose to rearrange indices in any way

(RefLink[Dot, paclet:ref/Dot]) ((RefLink[., paclet:ref/Dot])) — dot product

(RefLink[Inner, paclet:ref/Inner]) — generalized inner product

(RefLink[Outer, paclet:ref/Outer]) — generalized outer product

(RefLink[Tr, paclet:ref/Tr]) — generalized trace

(RefLink[Flatten, paclet:ref/Flatten]) — flatten out any sequence of levels