InversePermutation
The inverse of a permutation, in whichever notation it was given: a one-line word back to a one-line word, Cycles back to Cycles.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
InversePermutation✓InversePermutation(perm), in the same notation as permSageMath
enumeratio_inverse_permutation(perm)Typed signatures
| Type | Package | Applies |
|---|---|---|
(expression<Cycles> | list<integer>) -> expression<Cycles> | list<integer> | groupalgebra | always |
Details
- For a one-line word, for every
- For Cycles, each cycle inverts to — reversed but still starting at
Examples
About
| Examples | 5 |
|---|---|
| Checked against | Wolfram Language 5 agreeSageMath 5 agree |
| Crosswalk | Wolfram LanguageSageMath |
Implementation
mapped
sagepackages/oracle/src/mappings.ts See also: Cycles, PermutationCycles, Permute