PeakSet from Permutation
The interior positions that rise then fall.
Its size is the Peaks statistic, exactly as DescentSet's is Descents.
Called as CombinatorialMap(x, "PeakSet"). The head's page has its examples.
The interior positions that rise then fall.
Its size is the Peaks statistic, exactly as DescentSet's is Descents.
Called as CombinatorialMap(x, "PeakSet"). The head's page has its examples.