permutation_product function
The product of two permutations.
How to write it
permutation_product(p, q)
- p
- A permutation. Takes a list.
- q
- A permutation. Takes a list.
Examples
permutation_product([2, 1, 3], [1, 3, 2])In the solver,
Open in the solverpermutation_product([2, 1, 3], [1, 3, 2])gives[[1, 3, 2]].
Related functions
- permutation_sign
The sign of a permutation: 1 when it is even, -1 when odd.
- permutation_power
A permutation to a whole power.
- permutation_order
The order of a permutation: the least power that is the identity.
- permutation_inverse
The inverse of a permutation.
- permutations
All the orderings of a list.
- quaternion_conjugate
The conjugate of a quaternion.