Macaulay2 » Documentation
Packages » MultigradedBGG :: degree(DifferentialModule)
next | previous | forward | backward | up | index | toc

# degree(DifferentialModule) -- returns the degree of the differential

- Function: degree
- Usage:
    `degree D`
- Inputs:
  - D, a differential module,
- Outputs:
  - a list,

## Description

This method returns the degree of the differential of a differential module. In more detail: since the source and target of the differential are required to be equal, we must specify the degree of the differential in order for the differential to be homogeneous; this method returns that degree.

    i1 : R = QQ[x]/(x^3)

    o1 = R

    o1 : QuotientRing

    i2 : phi = map(R^1, R^1, x^2, Degree=>2)

    o2 = | x2 |

                 1      1
    o2 : Matrix R  <-- R

    i3 : D = differentialModule phi

          1      1      1
    o3 = R  <-- R  <-- R

         -1     0      1

    o3 : DifferentialModule

    i4 : degree D == {2}

    o4 = true

## See also

- differential(DifferentialModule) -- returns the differential of a differential module

## Ways to use this method:

- degree(DifferentialModule) -- returns the degree of the differential

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