Grassmannian(k,r) -- Grassmannian of k-planes in P^r
Grassmanian(k,r,R)
Given natural numbers k <= r, and optionally a ring R with at least binomial(r+1,k+1) variables, the routine finds the ideal of the Grassmannian of projective k-planes in P^r, using the first binomial(r+1,k+1) variables of R. If R is not given, the routine makes and uses ZZ/31991[vars(0..binomial(r+1,k+1)-1].
For example, the Grassmannian of projective lines in P^3:
i1 : J = Grassmannian(1,3) |
i2 : R = QQ[a..f]; |
i3 : J = Grassmannian(1,3,R) |
Caveat:
Ways to use Grassmannian :