Macaulay2 » Documentation
Packages » MatrixSchubert :: descentSet
next | previous | forward | backward | up | index | toc

descentSet -- the descent set of a permutation

Synopsis

Description

Given permutation in 1-line notation, lists the location of its descents, i.e., the least $i$ so that $w_{i+1}<w_i$.

i1 : w = {7,2,5,8,1,3,6,4}

o1 = {7, 2, 5, 8, 1, 3, 6, 4}

o1 : List
i2 : descentSet w

o2 = {1, 4, 7}

o2 : List

Ways to use descentSet:

For the programmer

The object descentSet is a method function.