<?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>statePolytope(ZZ,Ideal) -- computes the mth state polytope of an ideal</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div>next | <a href="_state__Polytope_lp__Ideal_rp.html">previous</a> | forward | <a href="_state__Polytope_lp__Ideal_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>statePolytope(ZZ,Ideal) -- computes the mth state polytope of an ideal</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>statePolytope(m,I)</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_state__Polytope.html" title="computes state polytopes of ideals">statePolytope</a></span></li> <li><div class="single">Inputs:<ul><li><span><span>an <a href="../../Macaulay2Doc/html/___Z__Z.html">integer</a></span>, specifies to compute the mth state polytope</span></li> <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/___List.html">list</a></span>, the list of vertices of the state polytope</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>See Sturmfels's book <i>Groebner bases and convex polytopes</i>, page 14 for the definition of <i>State</i><sub>m</sub>(I). (The difference between this and <i>State</i>(I) is that for all sufficiently large m, <i>State</i><sub>m</sub>(I) does not distinguish between initial ideals which have the same saturation with regard to the irrelevant ideal, whereas in <i>State</i>(I), these are separated.) <table class="examples"><tr><td><pre>i1 : R = QQ[a..d];</pre> </td></tr> <tr><td><pre>i2 : I = ideal(a*c-b^2,a*d-b*c,b*d-c^2); o2 : Ideal of R</pre> </td></tr> <tr><td><pre>i3 : statePolytope(3,I) LP algorithm being used: "cddgmp". polymake: used package cddlib Implementation of the double description method of Motzkin et al. Copyright by Komei Fukuda. http://www.ifor.math.ethz.ch/~fukuda/cdd_home/cdd.html VERTICES 1 9 6 6 9 1 9 3 12 6 1 7 5 14 4 1 5 8 14 3 1 3 12 12 3 1 6 12 3 9 1 4 14 5 7 1 3 14 8 5 o3 = {{9, 6, 6, 9}, {9, 3, 12, 6}, {7, 5, 14, 4}, {5, 8, 14, 3}, {3, 12, 12, ------------------------------------------------------------------------ 3}, {6, 12, 3, 9}, {4, 14, 5, 7}, {3, 14, 8, 5}} o3 : List</pre> </td></tr> </table> </div> </div> </div> </body> </html>