Sophie

Sophie

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

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>facets -- the facets of a simplicial complex</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_f__Vector.html">next</a> | <a href="_faces.html">previous</a> | <a href="_f__Vector.html">forward</a> | <a href="_faces.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>facets -- the facets of a simplicial complex</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>facets D</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>D</tt>, <span>a <a href="___Simplicial__Complex.html">simplicial complex</a></span></span></li>
</ul>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span><span>a <a href="../../Macaulay2Doc/html/___Matrix.html">matrix</a></span>, with one row, whose entries are squarefree monomials representing the facets (maximal faces) of <tt>D</tt></span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div>In Macaulay2, every <a href="___Simplicial__Complex.html">simplicial complex</a> is equipped with a polynomial ring, and the resulting matrix of facets is defined over this ring.<table class="examples"><tr><td><pre>i1 : loadPackage "SimplicialComplexes";</pre>
</td></tr>
</table>
The 3-dimensional sphere has a unique minimal nonface which corresponds to the interior.<table class="examples"><tr><td><pre>i2 : R = ZZ[a..e];</pre>
</td></tr>
<tr><td><pre>i3 : sphere = simplicialComplex monomialIdeal(a*b*c*d*e)

o3 = | bcde acde abde abce abcd |

o3 : SimplicialComplex</pre>
</td></tr>
<tr><td><pre>i4 : facets sphere

o4 = | bcde acde abde abce abcd |

             1       5
o4 : Matrix R  &lt;--- R</pre>
</td></tr>
</table>
The following <a href="_faces.html" title="the i-faces of a simplicial complex ">faces</a> generate a simplicial complex consisting of a triangle (on vertices <tt>a,b,c</tt>), two edges connecting <tt>c</tt> to <tt>d</tt> and <tt>b</tt> to <tt>d</tt>, and an isolated vertex <tt>e</tt>.<table class="examples"><tr><td><pre>i5 : D = simplicialComplex {e, c*d, b*d, a*b*c, a*b, c}

o5 = | e cd bd abc |

o5 : SimplicialComplex</pre>
</td></tr>
<tr><td><pre>i6 : facets D

o6 = | e cd bd abc |

             1       4
o6 : Matrix R  &lt;--- R</pre>
</td></tr>
</table>
There are four facets of <tt>D</tt>.<p/>
Note that no computatation is performed by this routine; all the computation was done while constructing the simplicial complex.<p/>
A simplicial complex is displayed by listing its facets, and so this function is frequently unnecessary.</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="index.html" title="simplicial complexes">SimplicialComplexes</a> -- simplicial complexes</span></li>
<li><span><a href="_simplicial__Complex.html" title="create a simplicial complex">simplicialComplex</a> -- create a simplicial complex</span></li>
<li><span><a href="_faces.html" title="the i-faces of a simplicial complex ">faces</a> -- the i-faces of a simplicial complex </span></li>
</ul>
</div>
<div class="waystouse"><h2>Ways to use <tt>facets</tt> :</h2>
<ul><li>facets(SimplicialComplex)</li>
</ul>
</div>
</div>
</body>
</html>