sym-0.9: Permutations, patterns, and statistics

MaintainerAnders Claesson <anders.claesson@gmail.com>
Safe HaskellNone

Math.Perm.Component

Description

Components of permutations.

Synopsis

Documentation

components :: Perm -> [Perm]Source

The list of (plus) components.

skewComponents :: Perm -> [Perm]Source

The list of skew components, also called minus components.

leftMaxima :: Perm -> [Int]Source

For each position, left-to-right, records the largest value seen thus far.

leftMinima :: Perm -> [Int]Source

For each position, left-to-right, records the smallest value seen thus far.

rightMaxima :: Perm -> [Int]Source

For each position, right-to-left, records the largest value seen thus far.

rightMinima :: Perm -> [Int]Source

For each position, right-to-left, records the smallest value seen thus far.