next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
SegreClasses :: makeProductRing

makeProductRing -- Makes the coordinate ring of a product of projective spaces.

Synopsis

Description

Builds the multi-graded coordinate ring of ℙn1x...xℙnm.

i1 : R = makeProductRing(QQ,{3,4})

o1 = R

o1 : PolynomialRing
i2 : R = makeProductRing({3,4})

o2 = R

o2 : PolynomialRing
i3 : degrees R

o3 = {{1, 0}, {1, 0}, {1, 0}, {1, 0}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}}

o3 : List
i4 : gens R

o4 = {a, b, c, d, e, f, g, h, i}

o4 : List

Ways to use makeProductRing :