Sophie

Sophie

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

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>simplex -- Simplex in the variables of a polynomial ring.</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_simplex__Dim.html">next</a> | <a href="_save__Deformations.html">previous</a> | <a href="_simplex__Dim.html">forward</a> | <a href="_save__Deformations.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>simplex -- Simplex in the variables of a polynomial 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>simplex(R)</tt><br/><tt>simplex(R,Rdual)</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>R</tt>, <span>a <a href="../../Macaulay2Doc/html/___Polynomial__Ring.html">polynomial ring</a></span></span></li>
<li><span><tt>Rdual</tt>, <span>a <a href="../../Macaulay2Doc/html/___Polynomial__Ring.html">polynomial ring</a></span></span></li>
</ul>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span><span>an <a href="___Complex.html">embedded complex</a></span></span></li>
</ul>
</div>
</li>
<li><div class="single"><a href="../../Macaulay2Doc/html/_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>:<ul><li><span><a href="_compute__Faces.html">computeFaces => ...</a>,  -- Compute faces of a simplex.</span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div><p>Returns a simplex on the variables of R.</p>
<p>If R does not have a coker grading then the standard projective space fan rays are added, see <a href="_add__Coker__Grading.html" title="Stores a cokernel grading in a polynomial ring.">addCokerGrading</a> and <a href="_rays__P__Pn.html" title="The rays of the standard fan of projective space.">raysPPn</a>.</p>
<p>The Option computeFaces=>false suppresses the computaton of all faces.</p>
<p>If Rdual is specified it is used for the vertices of the dual simplex, if not a new polynomial ring is created. It is graded by the coordinates of the vertices of the dual simplex.</p>
<p>The dual simplex is always created without face data.</p>
<div/>
<table class="examples"><tr><td><pre>i1 : R=QQ[x_0..x_4]

o1 = R

o1 : PolynomialRing</pre>
</td></tr>
<tr><td><pre>i2 : C=simplex(R)

o2 = 4: x x x x x  
         0 1 2 3 4

o2 : complex of dim 4 embedded in dim 4 (printing facets)
     equidimensional, simplicial, F-vector {1, 5, 10, 10, 5, 1}, Euler = 0</pre>
</td></tr>
<tr><td><pre>i3 : grading C

o3 = | -1 -1 -1 -1 |
     | 1  0  0  0  |
     | 0  1  0  0  |
     | 0  0  1  0  |
     | 0  0  0  1  |

              5        4
o3 : Matrix ZZ  &lt;--- ZZ</pre>
</td></tr>
<tr><td><pre>i4 : dC=C.dualComplex

o4 = 4: v v v v v  
         0 1 2 3 4

o4 : complex of dim 4 embedded in dim 4 (printing facets)
     equidimensional, simplicial</pre>
</td></tr>
<tr><td><pre>i5 : grading dC

o5 = | -1 -1 -1 4  |
     | -1 -1 4  -1 |
     | -1 4  -1 -1 |
     | 4  -1 -1 -1 |
     | -1 -1 -1 -1 |

              5        4
o5 : Matrix QQ  &lt;--- QQ</pre>
</td></tr>
<tr><td><pre>i6 : fc(dC);</pre>
</td></tr>
<tr><td><pre>i7 : dC

o7 = 4: v v v v v  
         0 1 2 3 4

o7 : complex of dim 4 embedded in dim 4 (printing facets)
     equidimensional, simplicial, F-vector {1, 5, 10, 10, 5, 1}, Euler = 0</pre>
</td></tr>
</table>
</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_grading.html" title="The grading of a first order deformation or complex or polynomial ring.">grading</a> -- The grading of a first order deformation or complex or polynomial ring.</span></li>
<li><span><a href="_dual__Grading.html" title="The dual vertices of a polytope.">dualGrading</a> -- The dual vertices of a polytope.</span></li>
</ul>
</div>
<div class="waystouse"><h2>Ways to use <tt>simplex</tt> :</h2>
<ul><li>simplex(PolynomialRing)</li>
<li>simplex(PolynomialRing,PolynomialRing)</li>
</ul>
</div>
</div>
</body>
</html>