<?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>arrangement(String,PolynomialRing) -- look up a built-in hyperplane arrangement</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_arrangement__Library.html">next</a> | <a href="___Arrangement_sp_us_sp__Flat.html">previous</a> | <a href="_arrangement__Library.html">forward</a> | <a href="___Arrangement_sp_us_sp__Flat.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>arrangement(String,PolynomialRing) -- look up a built-in hyperplane 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>arrangement(s) or arrangement(s,R) or arrangement(s,k)</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_arrangement.html" title="create a hyperplane arrangement">arrangement</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>s</tt>, <span>a <a href="../../Macaulay2Doc/html/___String.html">string</a></span>, the name of a built-in arrangement</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 hyperplane arrangement named <tt>s</tt>.</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>The built-in arrangements are stored in a global <a href="../../Macaulay2Doc/html/___Hash__Table.html" title="the class of all hash tables">HashTable</a> called <tt>arrangementLibrary</tt>. Accordingly, the user can see what arrangements are available by examining the keys:<table class="examples"><tr><td><pre>i1 : keys arrangementLibrary o1 = {prism, (9_3)_2, notTame, Ziegler1, Hessian, nonFano, Ziegler2, X2, ------------------------------------------------------------------------ MacLane, X3, braid, Pappus} o1 : List</pre> </td></tr> <tr><td><pre>i2 : R = QQ[x,y,z];</pre> </td></tr> <tr><td><pre>i3 : A = arrangement("Pappus",R) o3 = {x, y, z, x - y, y - z, x - y - z, 2x + y + z, 2x + y - z, 2x - 5y + z} o3 : Hyperplane Arrangement </pre> </td></tr> <tr><td><pre>i4 : poincare A 2 3 o4 = 1 + 9T + 27T + 19T o4 : ZZ[T]</pre> </td></tr> <tr><td><pre>i5 : isDecomposable A o5 = false</pre> </td></tr> <tr><td><pre>i6 : A = arrangement("prism", ZZ/101) -- can also specify coefficient ring o6 = {x , x , x , x , x + x + x , x + x + x } 1 2 3 4 1 2 4 1 3 4 o6 : Hyperplane Arrangement </pre> </td></tr> <tr><td><pre>i7 : ring A ZZ o7 = ---[x , x , x , x ] 101 1 2 3 4 o7 : PolynomialRing</pre> </td></tr> </table> </div> </div> <div class="single"><h2>Caveat</h2> <div>The arrangements <tt>MacLane</tt> and <tt>Hessian</tt> are defined over <tt>ZZ/31627</tt>, where <tt>6419</tt> is a cube root of unity.</div> </div> </div> </body> </html>