One Hat Cyber Team
Your IP :
216.73.216.135
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
Macaulay2
/
Macaulay2Doc
/
html
/
View File Name :
_net__List.html
<!DOCTYPE html> <html lang="en"> <head> <title>netList -- a table of boxes</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <link type="text/css" rel="stylesheet" href="../../../../Macaulay2/Style/doc.css"> <link rel="stylesheet" href="../../../../Macaulay2/Style/katex/katex.min.css"> <script defer="defer" src="../../../../Macaulay2/Style/katex/katex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/auto-render.min.js"></script> <script> var macros = { "\\break": "\\\\", "\\ZZ": "\\mathbb{Z}", "\\NN": "\\mathbb{N}", "\\QQ": "\\mathbb{Q}", "\\RR": "\\mathbb{R}", "\\CC": "\\mathbb{C}", "\\PP": "\\mathbb{P}" }, delimiters = [ { left: "$$", right: "$$", display: true}, { left: "\\[", right: "\\]", display: true}, { left: "$", right: "$", display: false}, { left: "\\(", right: "\\)", display: false} ], ignoredTags = [ "kbd", "var", "samp", "script", "noscript", "style", "textarea", "pre", "code", "option" ]; document.addEventListener("DOMContentLoaded", function() { renderMathInElement(document.body, { delimiters: delimiters, macros: macros, ignoredTags: ignoredTags, trust: true }); }); </script> <style>.katex { font-size: 1em; }</style> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/copy-tex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/render-a11y-string.min.js"></script> <script src="../../../../Macaulay2/Style/prism.js"></script> <script>var current_version = '1.25.06';</script> <script src="../../../../Macaulay2/Style/version-select.js"></script> <link type="image/x-icon" rel="icon" href="../../../../Macaulay2/Style/icon.gif"> </head> <body> <div id="buttons"> <div> <a href="https://macaulay2.com/">Macaulay2</a> <span id="version-select-container"></span> » <a title="Macaulay2 documentation" href="index.html">Documentation </a> <br><a href="_packages_spprovided_spwith_sp__Macaulay2.html">Packages</a> » <span><a title="Macaulay2 documentation" href="index.html">Macaulay2Doc</a> » <a href="___The_sp__Macaulay2_splanguage.html">The Macaulay2 language</a> » <a title="a detailed overview of lists and sequences in Macaulay2" href="_lists_spand_spsequences.html">lists and sequences</a> » <a title="a table of boxes" href="_net__List.html">netList</a></span> </div> <div class="right"> <form method="get" action="https://www.google.com/search"> <input placeholder="Search" type="text" name="q" value=""> <input type="hidden" name="q" value="site:macaulay2.com/doc"> </form> <a href="_sort.html">next</a> | <a href="_pack.html">previous</a> | <a href="_sort.html">forward</a> | <a href="_pack.html">backward</a> | <a href="_lists_spand_spsequences.html">up</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> </div> </div> <hr> <div> <h1>netList -- a table of boxes</h1> <ul> <li> <dl class="element"> <dt>Usage: </dt> <dd><code class="language-macaulay2">netList v</code></dd> </dl> </li> <li>Inputs: <ul> <li><span><span class="tt">v</span>, a list of lists of things to be converted to nets and displayed as a table in a net</span></li> </ul> </li> <li><a href="_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>: <ul> <li><span><span class="tt">Boxes</span><span class="tt"> => </span><span class="tt">...</span>, <span>default value true</span>, whether to draw boxes around the individual nets. Can be a Boolean, or a pair controlling separately the horizontal and vertical lines of the boxes. Each element of the pair is either a Boolean (draw all or none) or a list of rows/columns where lines are to inserted.</span></li> <li><span><span class="tt">BaseRow</span><span class="tt"> => </span><span>an <a title="the class of all integers" 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 <span class="tt">v</span>, larger by 1 than one might expect.</span></li> <li><span><span class="tt">HorizontalSpace</span><span class="tt"> => </span><span>an <a title="the class of all integers" 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></li> <li><span><span class="tt">VerticalSpace</span><span class="tt"> => </span><span>an <a title="the class of all integers" 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></li> <li><span><span class="tt">Alignment</span><span class="tt"> => </span><span class="tt">...</span>, <span>default value Left</span>, <span class="tt">Center</span>, <span class="tt">Left</span>, <span class="tt">Right</span>, or a list of those symbols indicating horizontal adjustment; if it's a list, the <span class="tt">i</span>-th entry specifies the adjustment in the <span class="tt">i</span>-th column; if not, the symbol applies to all columns.</span></li> </ul> </li> <li>Outputs: <ul> <li><span>a net obtained by converting the elements of each list in the list of lists <span class="tt">v</span> to nets and arranging them in a table, as specified by the options</span></li> </ul> </li> </ul> <div> <h2>Description</h2> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i1 : f = {{"hi there","foo"},{-3, 2^40}} o1 = {{hi there, foo}, {-3, 1099511627776}} o1 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i2 : netList f +--------+-------------+ o2 = |hi there|foo | +--------+-------------+ |-3 |1099511627776| +--------+-------------+</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i3 : netList(f,Boxes=>false) o3 = hi therefoo -3 1099511627776</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i4 : netList(f,Boxes=>true,HorizontalSpace=>1,VerticalSpace=>1) +----------+---------------+ | | | o4 = | hi there | foo | | | | +----------+---------------+ | | | | -3 | 1099511627776 | | | | +----------+---------------+</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i5 : netList(f,Boxes=>true,Alignment=>Center) +--------+-------------+ o5 = |hi there| foo | +--------+-------------+ | -3 |1099511627776| +--------+-------------+</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i6 : netList(f,Boxes=>true,BaseRow=>1) +--------+-------------+ |hi there|foo | +--------+-------------+ o6 = |-3 |1099511627776| +--------+-------------+</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i7 : netList(f,Boxes=>{{1},{1}}) o7 = hi there|foo --------+------------- -3 |1099511627776</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i8 : netList apply(5,i->apply(i+1,j->(i,j))) +------+------+------+------+------+ o8 = |(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)| +------+------+------+------+------+</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i9 : netList(apply(5,i->apply(i+1,j->(i,j))),Boxes=>{true,false}) ------------------------------ o9 = (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) ------------------------------</code></pre> </td> </tr> </table> </div> <div> <h2>See also</h2> <ul> <li><span><a title="format for printing, as a net" href="_net.html">net</a> -- format for printing, as a net</span></li> </ul> </div> <div> <div class="waystouse"> <h2>Ways to use <span class="tt">netList</span>:</h2> <ul> <li><kbd>netList(VisibleList)</kbd></li> </ul> </div> <div class="waystouse"> <h2>For the programmer</h2> <p>The object <a title="a table of boxes" href="_net__List.html">netList</a> is <span>a <a title="a type of method function" href="___Method__Function__With__Options.html">method function with options</a></span>.</p> </div> <hr> <div class="waystouse"> <p>The source of this document is in <span class="tt">Macaulay2Doc/functions/netList-doc.m2:41:0</span>.</p> </div> </div> </div> </body> </html>