Macaulay2 » Documentation
Packages » MultiprojectiveVarieties :: degrees(MultiprojectiveVariety)
next | previous | forward | backward | up | index | toc

# degrees(MultiprojectiveVariety) -- degrees for the minimal generators

- Function: degrees
- Usage:
    `degrees X`
- Inputs:
  - X, a multi-projective variety
- Outputs:
  - a list, the list of multi-degrees for the minimal generators of the ideal of X

## Description

    i1 : X = ⋃ for i to 10 list point PP_(ZZ/33331)^{2,3};

    o1 : ProjectiveVariety, 0-dimensional subvariety of PP^2 x PP^3

    i2 : ? X

    o2 = 0-dimensional subvariety of PP^2 x PP^3 cut out by 39 hypersurfaces of
         multi-degrees (0,3)^9 (1,1)^1 (1,2)^15 (2,1)^10 (4,0)^4

    i3 : degrees X

    o3 = {({0, 3}, 9), ({1, 1}, 1), ({1, 2}, 15), ({2, 1}, 10), ({4, 0}, 4)}

    o3 : List

## Ways to use this method:

- degrees(MultiprojectiveVariety) -- degrees for the minimal generators

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/MultiprojectiveVarieties.m2:3857:0.