Permutation: Invert

Generates the inverse of the selected Permutation.

Example

If the permutation is (1,5,3,2,4) the inverse will be (1,4,3,5,2). If we multiply these two permutations the result will be the identity permutation (1,2,3,4,5).


© djmw 20050709