permutation_inverse function
The inverse of a permutation.
How to write it
permutation_inverse(p)
- p
- A permutation, written as the list of where 1, 2, 3 and so on go. Takes a list.
Examples
permutation_inverse([2, 3, 1])In the solver,
Open in the solverpermutation_inverse([2, 3, 1])gives[[1, 3, 2]].
Related functions
- permutation_order
The order of a permutation: the least power that is the identity.
- permutation_power
A permutation to a whole power.
- permutation_product
The product of two permutations.
- permutation_sign
The sign of a permutation: 1 when it is even, -1 when odd.
- field_inverse
The inverse of an element of a finite field.
- is_irreducible
Test whether a polynomial cannot be factored, over the rationals or modulo a prime.