A Schubert condition in the Grassmannian $Gr(k,n)$ is encoded either by a partition $l$ or by a bracket $b$.
A partition is a weakly decreasing list of at most $k$ nonnegative integers less than or equal to $n-k$. It may be padded with zeroes to be of length $k$.
A bracket is a strictly increasing list of length $k$ of positive integers between $1$ and $n$.
This function writes a bracket as a partition. They are related as follows $b_{k+1-i}=n-i-l_i$, for $i=1,...,k$.
|
|
|
|
|
|
|
The object bracket2partition is a method function.