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 package.
The object avoidsPattern is a method function.
The source of this document is in Permutations/Documentation/patternAvoidanceDocs.m2:32:0.