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

longestPerm -- to return the longest permutation of length n

Synopsis

Description

Given an integer $n$, returns the permutation $\{n,n-1,...2,1\}$.

i1 : longestPerm 7

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

o1 : List

Ways to use longestPerm:

For the programmer

The object longestPerm is a method function.