next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
NumericalSchubertCalculus :: bracket2partition

bracket2partition -- dictionary between different notations for Schubert conditions.

Synopsis

Description

A Schubert condition in the Grassmannian Gr(k,n) can be denoted by a partition l or by a bracket b.

A partition is a weakly decreasing list of nonnegative integers less than or equal to n-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.

i1 : b = {1,3};
i2 : n = 4;
i3 : bracket2partition(b,n)

o3 = {2, 1}

o3 : List
i4 : n = 6;
i5 : bracket2partition(b,n)

o5 = {4, 3}

o5 : List
i6 : b = {2,4,6};
i7 : bracket2partition(b,n);

See also

Ways to use bracket2partition :