RskShape
The common shape of the RSK tableaux: the row lengths, as a partition of n.
Wikipedia
Robinson–Schensted correspondenceMathWorldSchenstedCorrespondenceWikidataQ2997917Encyclopedia of MathematicsRobinson-Schensted_correspondenceFindStatMp00060via PermutationRskShape(Permutation)The common shape of the RSK tableaux: the row lengths, as a partition of n.Typed signatures
| Type | Package | Applies |
|---|---|---|
(permutation) -> integer_partition | combinatorics | always |
Details
- Takes a
Permutationand returns aIntegerPartition— a typed map, so a wrong carrier is a type error rather than a wrong answer. - By Schensted, its first part is the longest increasing subsequence and its first COLUMN is the longest decreasing one — two statistics readable off this map.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | WikipediaMathWorldWikidataEncyclopedia of MathematicsFindStat |