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

isSeparable -- whether a permutation is separable.

Description

A permutation $p$ is separable if it avoids $2413$ and $3142$.

i1 : p = permutation {1,4,3,2,5,9,7,8,6}

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

o1 : Permutation
i2 : isSeparable p

o2 = true

See also

Ways to use isSeparable:

  • isSeparable(Permutation)

For the programmer

The object isSeparable is a method function.


The source of this document is in Permutations/Documentation/patternAvoidanceDocs.m2:151:0.