index notation for vector and tensor operations