PeakSet
The interior positions that rise then fall.
PeakSet(Permutation)The interior positions that rise then fall.Typed signatures
| Type | Package | Applies |
|---|---|---|
(permutation) -> finset | combinatorics | always |
Details
- Takes a
Permutationand returns aFinset— a typed map, so a wrong carrier is a type error rather than a wrong answer. - Its size is the Peaks statistic, exactly as DescentSet's is Descents.
Examples
About
| Examples | 1 |
|---|