<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>degrees(Ring) -- degrees of generators</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_degrees__Monoid.html">next</a> | <a href="_degrees_lp__Matrix_rp.html">previous</a> | <a href="_degrees__Monoid.html">forward</a> | <a href="_degrees_lp__Matrix_rp.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <hr/> <div><h1>degrees(Ring) -- degrees of generators</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>degrees A</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_degrees.html" title="degrees of generators">degrees</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>A</tt>, <span>a <a href="___Ring.html">ring</a></span>, <span>an <a href="___Ideal.html">ideal</a></span>, <span>a <a href="___Module.html">module</a></span>, <span>a <a href="___Coherent__Sheaf.html">coherent sheaf</a></span>, or <span>a <a href="___Monoid.html">monoid</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="___List.html">list</a></span>, the list of multi-degrees for the generators of <tt>A</tt></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><table class="examples"><tr><td><pre>i1 : R = ZZ/101[x,y,z];</pre> </td></tr> <tr><td><pre>i2 : degrees R o2 = {{1}, {1}, {1}} o2 : List</pre> </td></tr> <tr><td><pre>i3 : S = ZZ/101[x,y,z,Degrees => {{2,3},{1,2},{2,0}}];</pre> </td></tr> <tr><td><pre>i4 : degrees S o4 = {{2, 3}, {1, 2}, {2, 0}} o4 : List</pre> </td></tr> </table> This function also applies to ideals, modules, and sheaves.<table class="examples"><tr><td><pre>i5 : I = ideal"xy2,xyz,y3" 2 3 o5 = ideal (x*y , x*y*z, y ) o5 : Ideal of S</pre> </td></tr> <tr><td><pre>i6 : degrees I o6 = {{4, 7}, {5, 5}, {3, 6}} o6 : List</pre> </td></tr> </table> <table class="examples"><tr><td><pre>i7 : degrees R^5 o7 = {{0}, {0}, {0}, {0}, {0}} o7 : List</pre> </td></tr> <tr><td><pre>i8 : degrees R^{1,2,3,4} o8 = {{-1}, {-2}, {-3}, {-4}} o8 : List</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_degree__Length.html" title="the number of degrees">degreeLength</a> -- the number of degrees</span></li> <li><span><a href="_degrees__Ring.html" title="the ring of degrees">degreesRing</a> -- the ring of degrees</span></li> </ul> </div> </div> </body> </html>