The inner product between a tensor of order n and a tensor of order m is a tensor of order n + m − 2 , see tensor contraction for details .
The double dot product between two 2nd order tensors is a scalar .