<?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>mons2intmat -- matrix of leading exponents</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_normaliz.html">next</a> | <a href="_intmat2mons_lp__Matrix_cm__Ring_cm__Z__Z_rp.html">previous</a> | <a href="_normaliz.html">forward</a> | <a href="_intmat2mons_lp__Matrix_cm__Ring_cm__Z__Z_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>mons2intmat -- matrix of leading exponents</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>mons2intmat(I)</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><span>an <a href="../../Macaulay2Doc/html/___Ideal.html">ideal</a></span>, the ideal</span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___Matrix.html">matrix</a></span>, rows represent the leading exponents of the generators of <tt>I</tt></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>This function returns the <a href="../../Macaulay2Doc/html/___Matrix.html" title="the class of all matrices">Matrix</a> whose rows represent the leading exponents of the elements of <tt>I</tt>. The length of each row is the numbers of variables of the ambient ring of <tt> I</tt>.<table class="examples"><tr><td><pre>i1 : R=ZZ/37[x,y,t];</pre> </td></tr> <tr><td><pre>i2 : J=ideal(x^3, x^2*y, y^3, x*y^2,x*y^2*t^7); o2 : Ideal of R</pre> </td></tr> <tr><td><pre>i3 : m=mons2intmat(J) o3 = | 3 0 0 | | 2 1 0 | | 0 3 0 | | 1 2 0 | | 1 2 7 | 5 3 o3 : Matrix ZZ <--- ZZ</pre> </td></tr> <tr><td><pre>i4 : I=intmat2mons(m,R) 3 2 3 2 2 7 o4 = ideal (x , x y, y , x*y , x*y t ) o4 : Ideal of R</pre> </td></tr> <tr><td><pre>i5 : I==J o5 = true</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_intmat2mons.html" title="monomials from a matrix">intmat2mons</a> -- monomials from a matrix</span></li> </ul> </div> <div class="waystouse"><h2>Ways to use <tt>mons2intmat</tt> :</h2> <ul><li>mons2intmat(Ideal)</li> </ul> </div> </div> </body> </html>