Sophie

Sophie

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

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>graphic -- Make a graphic arrangement</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="___Hyp__At__Infinity.html">next</a> | <a href="_flats.html">previous</a> | <a href="___Hyp__At__Infinity.html">forward</a> | <a href="_flats.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>graphic -- Make a graphic arrangement</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>graphic(G) or graphic(G,k) or graphic(G,R)</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>G</tt>, <span>a <a href="../../Macaulay2Doc/html/___List.html">list</a></span>, a graph, expressed as a list of pairs of vertices</span></li>
<li><span><tt>k</tt>, <span>a <a href="../../Macaulay2Doc/html/___Ring.html">ring</a></span>, an optional coefficient ring, by default <tt>QQ</tt></span></li>
<li><span><tt>R</tt>, <span>a <a href="../../Macaulay2Doc/html/___Polynomial__Ring.html">polynomial ring</a></span>, an optional coordinate ring for the arrangement</span></li>
</ul>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span><span>a <a href="___Arrangement.html">hyperplane arrangement</a></span>, the graphic arrangement from graph <tt>G</tt></span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div>A graph <tt>G</tt> has vertices 1, 2, ..., n, and its edges are a list of lists of length 2.  The graphic arrangement <tt>A(G)</tt> of <tt>G</tt> is, by definition, the subarrangement of the type A_(n-1) arrangement with hyperplanes <tt>x_i-x_j</tt> for each edge <tt>{i,j}</tt> of <tt>G</tt><table class="examples"><tr><td><pre>i1 : G = {{1,2},{2,3},{3,4},{4,1}}; -- a four-cycle</pre>
</td></tr>
<tr><td><pre>i2 : AG = graphic G

o2 = {- x  + x , - x  + x , - x  + x , x  - x }
         1    2     2    3     3    4   1    4

o2 : Hyperplane Arrangement </pre>
</td></tr>
<tr><td><pre>i3 : describe AG

o3 = {- x  + x , - x  + x , - x  + x , x  - x }
         1    2     2    3     3    4   1    4</pre>
</td></tr>
<tr><td><pre>i4 : rank AG -- the number of vertices minus number of components

o4 = 3</pre>
</td></tr>
<tr><td><pre>i5 : ring AG

o5 = QQ[x , x , x , x ]
         1   2   3   4

o5 : PolynomialRing</pre>
</td></tr>
<tr><td><pre>i6 : ring graphic(G,ZZ[x,y,z,w])

o6 = ZZ[x, y, z, w]

o6 : PolynomialRing</pre>
</td></tr>
</table>
</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_type__A.html" title="Type A reflection arrangement">typeA</a> -- Type A reflection arrangement</span></li>
</ul>
</div>
<div class="waystouse"><h2>Ways to use <tt>graphic</tt> :</h2>
<ul><li>graphic(List)</li>
<li>graphic(List,PolynomialRing)</li>
<li>graphic(List,Ring)</li>
</ul>
</div>
</div>
</body>
</html>