Inverse
The inverse permutation: position of each value.
Wikipedia
PermutationPermutationMathWorldPermutationWikidataQ161519Encyclopedia of MathematicsPermutationnLabpermutationBritannicatopic/permutationFindStatMp00066via PermutationMp00162via SignedPermutationWolfram LanguageInverseInverse(Permutation)The inverse permutation: position of each value.Typed signatures
| Type | Package | Applies |
|---|---|---|
(matrix) -> matrix | compute-engine | always |
((permutation) -> permutation) & ((signed_permutation) -> signed_permutation) | combinatoricsreplaces modular | on permutation, signed_permutation |
(expression<ModularMatrix> | matrix | string) -> expression<ModularMatrix> | matrix | modularreplaces compute-engine | always |
Details
- Takes a
Permutationand returns aPermutation— a typed map, so a wrong carrier is a type error rather than a wrong answer. - Also takes a
SignedPermutation, returning aSignedPermutation: The inverse signed permutation: ±j goes to the position of j, signed as the entry there. - FindStat's Mp00162.
Examples
About
| Examples | 2 |
|---|---|
| Crosswalk | Wikipedia ×2MathWorldWikidataEncyclopedia of MathematicsnLabBritannicaFindStat ×2Wolfram Language |
Implementation
mapped
sagepackages/oracle/src/mappings.tsmapped
sympypackages/oracle/src/mappings.tsThe permutation inverse (Permutation.__invert__), 1-based in and out; not a matrix inverse.