isVexillary w
Given a permutation in 1-line notation, checks if the permutation is vexillary, i.e. $2143$-avoiding. A permutation $w$ is $2143$-avoiding if there do not exist indices $i < j < k < l$ such that $w_j < w_i < w_l < w_k$.
|
|
|
|
The object isVexillary is a method function.