The dot product between a tensor of order n and a tensor of order m is a tensor of order n+m-2. The dot product is worked out by multiplying and summing across a single index in both tensors. If formula_32 and formula_33 are two tensors with element representation formula_34 and formula_35 the elements of the dot product formula_36 are given by