Sophie

Sophie

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

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>renderStaircase -- draws staircases of an initial ideal.</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="___Symmetries.html">next</a> | <a href="_render.html">previous</a> | <a href="___Symmetries.html">forward</a> | <a href="_render.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>renderStaircase -- draws staircases of an initial 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>renderStaircase(I) \n renderStaircase(d,I) \n renderStaircase(F,I) \n renderStaircase(F,d,I) \n renderStaircase(d,n,L) \n renderStaircase(F,d,n,L)</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>F</tt>, <span>a <a href="../../Macaulay2Doc/html/___String.html">string</a></span>, filename of the xfig file that is produced</span></li>
<li><span><tt>I</tt>, <span>an <a href="../../Macaulay2Doc/html/___Ideal.html">ideal</a></span>, of which to draw the staircase.</span></li>
<li><span><tt>L</tt>, <span>a <a href="../../Macaulay2Doc/html/___List.html">list</a></span>, of ideals of which to draw their staircases.</span></li>
<li><span><tt>d</tt>, <span>an <a href="../../Macaulay2Doc/html/___Z__Z.html">integer</a></span>, number of boxes to be drawn along each axis</span></li>
<li><span><tt>n</tt>, <span>an <a href="../../Macaulay2Doc/html/___Z__Z.html">integer</a></span>, number of diagrams per line</span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div><div>Renders the staircase of a monomial ideal (or a list of monomial ideals) in three variables. The output is put into an xfig file if a filename is provided. If no filename is provided then macaulay uses fig2dev to make a png which is displayed by the operating system (see <a href="../../Macaulay2Doc/html/_show.html" title="display various TeX, hypertext, or a URL, in an external application">show</a>).</div>
<table class="examples"><tr><td><pre>i1 : QQ[x,y,z]

o1 = QQ[x, y, z]

o1 : PolynomialRing</pre>
</td></tr>
<tr><td><pre>i2 : I = ideal "x4,y4,z4,xy2z3,x3yz2,x2y3z"

             4   4   4     2 3   3   2   2 3
o2 = ideal (x , y , z , x*y z , x y*z , x y z)

o2 : Ideal of QQ[x, y, z]</pre>
</td></tr>
<tr><td><pre>i3 : J = ideal "x4,y4,z4,x2y2z2"

             4   4   4   2 2 2
o3 = ideal (x , y , z , x y z )

o3 : Ideal of QQ[x, y, z]</pre>
</td></tr>
<tr><td><pre>i4 : null -- renderStaircase(I)</pre>
</td></tr>
<tr><td><pre>i5 : null -- renderStaircase("twostairs.fig", 6,2,{I,J})</pre>
</td></tr>
</table>
<div>To run the examples above, ommit the <tt>null -- </tt>. The first command will display the staircase of <tt>I</tt> while the second writes the image of both <tt>I</tt> and <tt>J</tt> to file.</div>
</div>
</div>
<div class="waystouse"><h2>Ways to use <tt>renderStaircase</tt> :</h2>
<ul><li>renderStaircase(Ideal)</li>
<li>renderStaircase(String,Ideal)</li>
<li>renderStaircase(String,ZZ,Ideal)</li>
<li>renderStaircase(String,ZZ,ZZ,List)</li>
<li>renderStaircase(ZZ,Ideal)</li>
<li>renderStaircase(ZZ,ZZ,List)</li>
</ul>
</div>
</div>
</body>
</html>