tuples = getTuples L
A matching field $\Lambda$ for the Grassmannian Gr$(k, n)$ is a collection tuples $\Lambda(J)$ for each $k$-subset $J \subseteq [n]$. The entries of the tuple form a permutation of $J$, so in some literature $\Lambda(J)$ is taken to be the element of the symmetric group $\sigma \in S_k$ such that $\Lambda(J) = (j_{\sigma(1)}, j_{\sigma(2), \dots, j_{\sigma(k)}})$ where $J = \{j_1 < j_2 < \dots < j_k\}$.
|
|
The tuples are stored such that their underlying sets are in RevLex order, which is the order produced by the method subsets.
For flag matching fields, the tuples are stored as a list of list of tuples for each Grassmannian matching field contained within.
|
|
The object getTuples is a method function.