Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 5425

Macaulay2-1.3.1-8.fc15.i686.rpm

<?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>ehrhartRing -- Ehrhart ring</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_export__Num__Invs.html">next</a> | <a href="index.html">previous</a> | <a href="_export__Num__Invs.html">forward</a> | <a href="index.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>ehrhartRing -- Ehrhart ring</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>ehrhartRing(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 leading monomials of the elements of the ideal are considered as generators of a lattice polytope</span></li>
</ul>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___List.html">list</a></span>,  a list containing one or two ideals</span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div>The exponent vectors of the leading monomials of the elements of <tt>I</tt> are considered as generators of a lattice polytope. The function returns a list of ideals:<br/><br/><em>(i)</em> If the last ring variable is not used by the monomials, it is treated as the auxiliary variable of the Ehrhart ring. The function returns two ideals, the first containing the monomials representing the lattice points of the polytope, the second containing the generators of the Ehrhart ring.<br/><br/><em>(ii)</em> If the last ring variable is used by the monomials, the function returns only one ideal, namely the monomials representing the lattice points of the polytope.<table class="examples"><tr><td><pre>i1 : R=ZZ/37[x,y,t];</pre>
</td></tr>
<tr><td><pre>i2 : I=ideal(x^3, x^2*y, y^3, x*y^2);

o2 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i3 : ehrhartRing(I)

              3   2      2   3           3    2        2    3
o3 = {ideal (x , x y, x*y , y ), ideal (x t, x y*t, x*y t, y t)}

o3 : List</pre>
</td></tr>
<tr><td><pre>i4 : J=I+ideal(x*y^2*t^7);

o4 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i5 : ehrhartRing(J)

                2 7     2 6     2 5     2 4   2   3     2 3   2   2     2 2 
o5 = {ideal (x*y t , x*y t , x*y t , x*y t , x y*t , x*y t , x y*t , x*y t ,
     ------------------------------------------------------------------------
      2        2    3   2      2   3
     x y*t, x*y t, x , x y, x*y , y )}

o5 : List</pre>
</td></tr>
</table>
</div>
</div>
<div class="waystouse"><h2>Ways to use <tt>ehrhartRing</tt> :</h2>
<ul><li>ehrhartRing(Ideal)</li>
</ul>
</div>
</div>
</body>
</html>