QMRITools`TensorTools`
QMRITools`TensorTools`

FlipTensorOrientation

FlipTensorOrientation[tens, perm] permutes the internal orientation of the tensor, perm can be any permutation of {"x","y","z"}. FlipTensorOrientation[tens, flip] flips the internal orientation of the tensor, flip can be {1,1,1}, {-1,1,1}, {1,-1,1} or {1,1,-1}. FlipTensorOrientation[tens, flip, perm] flips and permuter the internal orientation of the tensor. FlipTensorOrientation[tens, perm, flip]flips and permuter the internal orientation of the tensor.