Sophie

Sophie

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

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>netList(VisibleList) -- a table of boxes</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_new_sp__Chain__Complex.html">next</a> | <a href="___Net__File.html">previous</a> | <a href="_new_sp__Chain__Complex.html">forward</a> | <a href="___Net__File.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>netList(VisibleList) -- a table of boxes</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>netList v</tt></div>
</dd></dl>
</div>
</li>
<li><span>Function: <a href="_net__List_lp__Visible__List_rp.html" title="a table of boxes">netList</a></span></li>
<li><div class="single">Inputs:<ul><li><span><tt>v</tt>, <span>a <a href="___Visible__List.html">visible list</a></span>, a list of lists of things to be converted to nets and displayed as a table in a net</span></li>
</ul>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span>a net obtained by converting the elements of each list in the list of lists <tt>v</tt> to nets and arranging them in a table, as specified by the options</span></li>
</ul>
</div>
</li>
<li><div class="single"><a href="_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>:<ul><li><span><tt>Boxes => </tt><span><span>a <a href="___Boolean.html">Boolean value</a></span>, <span>default value true</span>, whether to draw boxes around the individual nets</span></span></li>
<li><span><tt>BaseRow => </tt><span><span>an <a href="___Z__Z.html">integer</a></span>, <span>default value 0</span>, the index of the base row, for the purpose of setting the baseline of the net produced.  The value is allowed to be as large as the length of <tt>v</tt>, larger by 1 than one might expect.</span></span></li>
<li><span><tt>HorizontalSpace => </tt><span><span>an <a href="___Z__Z.html">integer</a></span>, <span>default value 0</span>, the amount of space horizontally between entries or between entries and their enclosing boxes</span></span></li>
<li><span><tt>VerticalSpace => </tt><span><span>an <a href="___Z__Z.html">integer</a></span>, <span>default value 0</span>, the amount of space vertically between entries or between entries and their enclosing boxes</span></span></li>
<li><span><tt>Alignment => </tt><span><span>default value Left</span>, <tt>Center</tt>, <tt>Left</tt>, <tt>Right</tt>, or a list of those symbols indicating horizontal adjustment; if it's a list, the <tt>i</tt>-th entry specifies the adjustment in the <tt>i</tt>-th column; if not, the symbol applies to all columns.</span></span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div><table class="examples"><tr><td><pre>i1 : f = {{"hi there","foo"},{-3, 2^40}}

o1 = {{hi there, foo}, {-3, 1099511627776}}

o1 : List</pre>
</td></tr>
<tr><td><pre>i2 : netList f

     +--------+-------------+
o2 = |hi there|foo          |
     +--------+-------------+
     |-3      |1099511627776|
     +--------+-------------+</pre>
</td></tr>
<tr><td><pre>i3 : netList(f,Boxes=>false)

o3 = hi therefoo          
     -3      1099511627776</pre>
</td></tr>
<tr><td><pre>i4 : netList(f,Boxes=>true,HorizontalSpace=>1,VerticalSpace=>1)

     +----------+---------------+
     |          |               |
o4 = | hi there | foo           |
     |          |               |
     +----------+---------------+
     |          |               |
     | -3       | 1099511627776 |
     |          |               |
     +----------+---------------+</pre>
</td></tr>
<tr><td><pre>i5 : netList(f,Boxes=>true,Alignment=>Center)

     +--------+-------------+
o5 = |hi there|     foo     |
     +--------+-------------+
     |   -3   |1099511627776|
     +--------+-------------+</pre>
</td></tr>
<tr><td><pre>i6 : netList(f,Boxes=>true,BaseRow=>1)

     +--------+-------------+
     |hi there|foo          |
     +--------+-------------+
o6 = |-3      |1099511627776|
     +--------+-------------+</pre>
</td></tr>
<tr><td><pre>i7 : netList apply(5,i->apply(i+1,j->(i,j)))

     +------+------+------+------+------+
o7 = |(0, 0)|      |      |      |      |
     +------+------+------+------+------+
     |(1, 0)|(1, 1)|      |      |      |
     +------+------+------+------+------+
     |(2, 0)|(2, 1)|(2, 2)|      |      |
     +------+------+------+------+------+
     |(3, 0)|(3, 1)|(3, 2)|(3, 3)|      |
     +------+------+------+------+------+
     |(4, 0)|(4, 1)|(4, 2)|(4, 3)|(4, 4)|
     +------+------+------+------+------+</pre>
</td></tr>
</table>
</div>
</div>
</div>
</body>
</html>