Example 1.
First create a 3 dimensional manifold and define two tensors and on .
Interchange the arguments for the tensor .
Interchange argument 1 with 2 and argument 3 with 4 in the tensor . This can be done in two ways, by specifying a permutation or a list of cycles.
Cyclicly permute the last 3 arguments of . This can be done in two ways, by specifying a permutation or a list of cycles.
Cyclicly permute all 4 arguments of . This can be done in two ways, by specifying a permutation or a list of cycles.
Example 2.
Arguments of different spatial types can also be rearranged. Define a rank 2 vector bundle over a 2 dimensional base.