<?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>degreeLength -- the number of degrees</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Degree__Lift.html">next</a> | <a href="_degree_lp__Ring__Element_cm__Ring__Element_rp.html">previous</a> | <a href="___Degree__Lift.html">forward</a> | <a href="_degree_lp__Ring__Element_cm__Ring__Element_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>degreeLength -- the number of degrees</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>degreeLength X</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>X</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>, or <span>a <a href="___Monoid.html">monoid</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>an <a href="___Z__Z.html">integer</a></span>, the length of a multidegree vector used as a degree of an element of <tt>X</tt></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><table class="examples"><tr><td><pre>i1 : degreeLength ZZ o1 = 0</pre> </td></tr> <tr><td><pre>i2 : degreeLength (ZZ[x]) o2 = 1</pre> </td></tr> <tr><td><pre>i3 : degreeLength (ZZ[x, Degrees => {{1,2,3}}]) o3 = 3</pre> </td></tr> <tr><td><pre>i4 : degreeLength (GF 9) o4 = 0</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_degree.html" title="">degree</a></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 class="waystouse"><h2>Ways to use <tt>degreeLength</tt> :</h2> <ul><li>degreeLength(GeneralOrderedMonoid)</li> <li>degreeLength(Ideal)</li> <li>degreeLength(Module)</li> <li>degreeLength(OrderedMonoid)</li> <li>degreeLength(Ring)</li> <li><span>degreeLength(SchurRing), see <span><a href="../../SchurRings/html/___Schur__Ring.html" title="the class of all Schur rings">SchurRing</a> -- the class of all Schur rings</span></span></li> </ul> </div> </div> </body> </html>