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

isCDG -- whether a permutation is CDG.

Synopsis

Description

A permutation $p$ is CDG if it avoids.

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

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

o1 : Permutation
i2 : isCDG p

o2 = true

See also

Ways to use isCDG:

For the programmer

The object isCDG is a method function.