LRnumber(conditions,k,n)
This first verifies that the conditions are either all partitions or all brackets, and that they form a Schubert problem on $Gr(k,n)$.
Then it computes the intersection number of the product of Schubert classes in the cohomology ring of the Grassmannian
For instance, the problem of four lines is given by 4 partitions {1}$^4$ in $Gr(2,4)$
|
the same problem but using brackets instead of partitions
|
the same problem but using phc implementation of Littlewood-Richardson rule
|
This uses the package Schubert2 and the Strategy "phc" requires the string parsing capabilities of Macaulay2 version 1.17 or later
The object LRnumber is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/NumericalSchubertCalculus/doc.m2:664:0.