# Degree

## Description

Degree => d -- an optional argument to matrix that specifies that the degree of the map created should be d.

The degree may be an integer or a list of integers (multidegree). The length of the list should be the same as the length of a degree for the ring, see degreeLength.

 ```i1 : R = ZZ/101[x] o1 = R o1 : PolynomialRing``` ```i2 : p = map(R^1, R^1, {{x^4}}) o2 = | x4 | 1 1 o2 : Matrix R <--- R``` ```i3 : isHomogeneous p o3 = false``` ```i4 : q = map(R^1, R^1, {{x^4}}, Degree => 4) o4 = | x4 | 1 1 o4 : Matrix R <--- R``` ```i5 : isHomogeneous q o5 = true```

## Functions with optional argument named Degree :

• basis(..., Degree => ...), see basis -- basis or generating set of all or part of a ring, ideal or module
• cohomology(..., Degree => ...) (missing documentation)
• inducedMap(..., Degree => ...) -- specify the degree of a map
• map(..., Degree => ...) -- set the degree of a map
• matrix(..., Degree => ...), see matrix(List) -- create a matrix from a doubly-nested list of ring elements or matrices