Macaulay2 » Documentation
Packages » Permutations :: records
next | previous | forward | backward | up | index | toc

records -- computes the saliances of a permutation

Synopsis

Description

A permutation $p$ has a record at $i$ if $p(j) < p(i)$ for all $j < i$.

i1 : p = permutation {3,1,2,5,4}

o1 = Permutation{3, 1, 2, 5, 4}

o1 : Permutation
i2 : saliances p

o2 = {4, 5}

o2 : List

See also

Ways to use records:

For the programmer

The object records is a method function.