Tensor Contraction
Tensor contraction is the process of reducing a tensor’s order by summing over pairs of matching indices. This operation can be visualised as generalising the trace of a matrix to higher-dimensional arrays.
Visualisation
The following depicts a contraction of a tensor: