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

inverseOf -- to return the inverse of a permutation in 1-line notation.

Synopsis

Description

Given a permutation in 1-line notation returns the inverse of the permutation in 1-line notation.

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

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

o1 : List
i2 : inverseOf w

o2 = {4, 1, 5, 3, 2}

o2 : List

Ways to use inverseOf:

For the programmer

The object inverseOf is a method function.