next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: Degree

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 :

See also

For the programmer

The object Degree is a symbol.