avoidsPattern(w, pattern)
Pattern avoidance is more easily understood through an example. A permutation $p$ is $2143$-avoiding if there do not exist indices $i < j < k < l$ such that $w_j < w_i < w_l < w_k$.
|
|
This method was ported over from the MatrixSchubert (missing documentation) package.
The object avoidsPattern is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Permutations/Documentation/patternAvoidanceDocs.m2:32:0.