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

extend -- rewrites a permutation as a permutation on more symbols

Description

A permutation on $n$ symbols is an element of the symmetric group on $n$ symbols, $\mathfrak{S}_n$. However, it can also be regarded as a permutation on $N > n$ symbols as well by fixing the $(n+1)$st through $N$th symbols.

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

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

o1 : Permutation
i2 : extend(p, 7)

o2 = Permutation{3, 1, 2, 5, 4, 6, 7}

o2 : Permutation

See also

Ways to use extend:

For the programmer

The object extend is a method function with options.


The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Permutations/Documentation/mainDocs.m2:250:0.