<?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>intmat2mons -- monomials from a matrix</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_intmat2mons_lp__Matrix_cm__Ring_cm__Z__Z_rp.html">next</a> | <a href="_intcl__Toric__Ring.html">previous</a> | <a href="_intmat2mons_lp__Matrix_cm__Ring_cm__Z__Z_rp.html">forward</a> | <a href="_intcl__Toric__Ring.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>intmat2mons -- monomials from a matrix</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>intmat2mons(m,R)</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___Matrix.html">matrix</a></span>, a matrix, whose rows represent the exponent vectors</span></li> <li><span><span>a <a href="../../Macaulay2Doc/html/___Ring.html">ring</a></span>, the ring, whose elements the monomials shall be</span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>an <a href="../../Macaulay2Doc/html/___Ideal.html">ideal</a></span>, an ideal in <tt>R</tt> generated by the monomials in <tt>R</tt> whose exponent vectors are given by <tt>m</tt>.</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div> This functions interprets the rows of the matrix <tt>m</tt> as exponent vectors of monomials in <tt>R</tt>. It returns the ideal generated by these monomials.<table class="examples"><tr><td><pre>i1 : R=ZZ/37[x,y,t];</pre> </td></tr> <tr><td><pre>i2 : m=matrix({{3,0,0},{2,1,0},{0,3,0},{1,2,7}}) o2 = | 3 0 0 | | 2 1 0 | | 0 3 0 | | 1 2 7 | 4 3 o2 : Matrix ZZ <--- ZZ</pre> </td></tr> <tr><td><pre>i3 : I=intmat2mons(m,R) 3 2 3 2 7 o3 = ideal (x , x y, y , x*y t ) o3 : Ideal of R</pre> </td></tr> <tr><td><pre>i4 : n=mons2intmat(I) o4 = | 3 0 0 | | 2 1 0 | | 0 3 0 | | 1 2 7 | 4 3 o4 : Matrix ZZ <--- ZZ</pre> </td></tr> <tr><td><pre>i5 : m==n o5 = true</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_mons2intmat.html" title="matrix of leading exponents">mons2intmat</a> -- matrix of leading exponents</span></li> </ul> </div> <div class="waystouse"><h2>Ways to use <tt>intmat2mons</tt> :</h2> <ul><li>intmat2mons(Matrix,Ring)</li> <li><span><a href="_intmat2mons_lp__Matrix_cm__Ring_cm__Z__Z_rp.html" title="monomials from a matrix">intmat2mons(Matrix,Ring,ZZ)</a> -- monomials from a matrix</span></li> </ul> </div> </div> </body> </html>