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

isCartwrightSturmfels -- whether a permutation is Cartwright-Sturmfels

Synopsis

Description

A permutation $p$ is Cartwright-Sturmfels if it avoids.

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

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

o1 : Permutation
i2 : isCartwrightSturmfels p

o2 = true

See also

Ways to use isCartwrightSturmfels:

For the programmer

The object isCartwrightSturmfels is a method function.