For the general theory, see e.g. the book 3264 & All That - Intersection Theory in Algebraic Geometry, by D. Eisenbud and J. Harris.
i1 : G = GG(ZZ/33331,1,5); o1 : ProjectiveVariety, GG(1,5) |
i2 : S = schubertCycle({2,1},G) o2 = S o2 : ProjectiveVariety, 5-dimensional subvariety of PP^14 (subvariety of codimension 3 in G) |
i3 : cycleClass S o3 = s 2,1 o3 : ZZ[s , s ] 3,0 2,1 |
The object schubertCycle is a method function with options.