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

toOneLineNotation -- rewrites a transposition in 1-line notation

Synopsis

Description

Converts a transposition $(a,b)$ to 1-line notation. maxIdx is the $n$ for which to regard perm as an element of $S_n$, the symmetric group on $n$ letters.

i1 : perm = {2,4}

o1 = {2, 4}

o1 : List
i2 : maxIdx = 5

o2 = 5
i3 : toOneLineNotation(perm, maxIdx)

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

o3 : List

See also

Ways to use toOneLineNotation :

For the programmer

The object toOneLineNotation is a method function.