<?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>Degree</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_degree.html">next</a> | <a href="_default__Precision.html">previous</a> | <a href="_degree.html">forward</a> | <a href="_default__Precision.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>Degree</h1> <div class="single"><h2>Description</h2> <div><tt>Degree => d</tt> -- an optional argument to <a href="_matrix.html" title="make a matrix">matrix</a> that specifies that the degree of the map created should be <tt>d</tt>.<p/> 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 <a href="_degree__Length.html" title="the number of degrees">degreeLength</a>.<p/> <table class="examples"><tr><td><pre>i1 : R = ZZ/101[x] o1 = R o1 : PolynomialRing</pre> </td></tr> <tr><td><pre>i2 : p = map(R^1, R^1, {{x^4}}) o2 = | x4 | 1 1 o2 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i3 : isHomogeneous p o3 = false</pre> </td></tr> <tr><td><pre>i4 : q = map(R^1, R^1, {{x^4}}, Degree => 4) o4 = | x4 | 1 1 o4 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i5 : isHomogeneous q o5 = true</pre> </td></tr> </table> </div> </div> <div class="single"><h2>Functions with optional argument named Degree :</h2> <ul><li><span><a href="_cohomology_lp..._cm_sp__Degree_sp_eq_gt_sp..._rp.html" title="">cohomology(..., Degree => ...)</a></span></li> <li><span><a href="_induced__Map_lp..._cm_sp__Degree_sp_eq_gt_sp..._rp.html" title="specify the degree of a map">inducedMap(..., Degree => ...)</a> -- specify the degree of a map</span></li> <li><span><a href="_map_lp..._cm_sp__Degree_sp_eq_gt_sp..._rp.html" title="set the degree of a map">map(..., Degree => ...)</a> -- set the degree of a map</span></li> <li><span>matrix(..., Degree => ...), see <span><a href="_matrix_lp__List_rp.html" title="create a matrix from a doubly-nested list of ring elements or matrices">matrix(List)</a> -- create a matrix from a doubly-nested list of ring elements or matrices</span></span></li> </ul> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_map.html" title="make a map">map</a> -- make a map</span></li> <li><span><a href="_matrix.html" title="make a matrix">matrix</a> -- make a matrix</span></li> <li><span><a href="_induced__Map_lp..._cm_sp__Degree_sp_eq_gt_sp..._rp.html" title="specify the degree of a map">inducedMap(..., Degree => ...)</a> -- specify the degree of a map</span></li> </ul> </div> <div class="waystouse"><h2>For the programmer</h2> <p>The object <a href="___Degree.html" title="">Degree</a> is <span>a <a href="___Symbol.html">symbol</a></span>.</p> </div> </div> </body> </html>