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
/
Edit File:
___Betti__Tally.html
<!DOCTYPE html> <html lang="en"> <head> <title>BettiTally -- the class of all Betti tallies</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 href="_hash_sptables.html">hash tables</a> » <a title="the class of all hash tables" href="___Hash__Table.html">HashTable</a> » <a href="___Virtual__Tally.html">VirtualTally</a> » <a title="the class of all Betti tallies" href="___Betti__Tally.html">BettiTally</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="___Virtual__Tally_sp_st_st_sp__Virtual__Tally.html">next</a> | <a href="___Tally.html">previous</a> | <a href="___Multigraded__Betti__Tally.html">forward</a> | <a href="___Tally_sp-_sp__Tally.html">backward</a> | <a href="___Virtual__Tally.html">up</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> </div> </div> <hr> <div> <h1>BettiTally -- the class of all Betti tallies</h1> <div> <h2>Description</h2> <div> <p>A Betti tally is a special type of <a title="the class of all tally results" href="___Tally.html">Tally</a> that is printed as a display of graded Betti numbers. The class was created so the function <a title="display or modify a Betti diagram" href="_betti.html">betti</a> could return something that both prints nicely and from which information can be extracted. The keys are triples <span class="tt">(i,d,h)</span> encoding:</p> </div> <div> <h4> <span class="tt">i</span>, the column labels, representing the homological degree;</h4> <h4> <span class="tt">d</span>, a list of integers giving a multidegree; and</h4> <h4> <span class="tt">h</span>, the row labels, representing the dot product of a weight covector and <span class="tt">d</span>.</h4> </div> <div> <p>Only <span class="tt">i</span> and <span class="tt">h</span> are used in printing, and the weight covector can be modified by specifying the <a title="view and set the weight vector of a Betti diagram" href="_betti_lp__Betti__Tally_rp.html">betti(...,Weights=>...)</a> option to <a title="view and set the weight vector of a Betti diagram" href="_betti_lp__Betti__Tally_rp.html">betti(BettiTally)</a>.</p> </div> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i1 : t = new BettiTally from { (0,{0},0) => 1, (1,{1},1) => 2, (2,{3},3) => 3, (2,{4},4) => 4 } 0 1 2 o1 = total: 1 2 7 0: 1 2 . 1: . . 3 2: . . 4 o1 : BettiTally</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i2 : betti(t, Weights => {2}) 0 1 2 o2 = total: 1 2 7 0: 1 . . 1: . 2 . 2: . . . 3: . . . 4: . . 3 5: . . . 6: . . 4 o2 : BettiTally</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i3 : peek oo o3 = BettiTally{(0, {0}, 0) => 1} (1, {1}, 2) => 2 (2, {3}, 6) => 3 (2, {4}, 8) => 4</code></pre> </td> </tr> </table> <div> <p>For convenience, the operations of direct sum (<a title="a binary operator, usually used for direct sum" href="__pl_pl.html">++</a>), tensor product (<a title="a binary operator, usually used for tensor product or Cartesian product" href="__st_st.html">**</a>), <a title="compute the codimension" href="_codim.html">codim</a>, <a href="_degree.html">degree</a>, <a title="dual module or map" href="_dual.html">dual</a>, <a title="compute the projective dimension" href="_pdim.html">pdim</a>, <a title="assemble degrees of a ring, module, or ideal into a polynomial" href="_poincare.html">poincare</a>, <a title="compute the Castelnuovo-Mumford regularity" href="_regularity.html">regularity</a>, and degree shifting (numbers in brackets or parentheses), have been implemented for Betti tallies. These operations mimic the corresponding operations on chain complexes.</p> </div> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i4 : t(5) 0 1 2 o4 = total: 1 2 7 -5: 1 2 . -4: . . 3 -3: . . 4 o4 : BettiTally</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i5 : t[-5] 5 6 7 o5 = total: 1 2 7 -5: 1 2 . -4: . . 3 -3: . . 4 o5 : BettiTally</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i6 : dual oo -7 -6 -5 o6 = total: 7 2 1 3: 4 . . 4: 3 . . 5: . 2 1 o6 : BettiTally</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i7 : t ++ oo -7 -6 -5 -4 -3 -2 -1 0 1 2 o7 = total: 7 2 1 . . . . 1 2 7 0: . . . . . . . 1 2 . 1: . . . . . . . . . 3 2: . . . . . . . . . 4 3: 4 . . . . . . . . . 4: 3 . . . . . . . . . 5: . 2 1 . . . . . . . o7 : BettiTally</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i8 : t ** t 0 1 2 3 4 o8 = total: 1 4 18 28 49 0: 1 4 4 . . 1: . . 6 12 . 2: . . 8 16 9 3: . . . . 24 4: . . . . 16 o8 : BettiTally</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i9 : pdim t o9 = 2</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i10 : codim t o10 = 0</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i11 : degree t o11 = 6</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i12 : poincare t 3 4 o12 = 1 - 2T + 3T + 4T o12 : ZZ[T]</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i13 : regularity t o13 = 2</code></pre> </td> </tr> </table> <div> <p>If the Betti tally represents the Betti numbers of a resolution of a module $M$ on a polynomial ring $R = K[x_0,...,x_n]$, then while the data does not uniquely determine $M$, it suffices to compute the <a title="compute the Hilbert polynomial" href="_hilbert__Polynomial.html">Hilbert polynomial</a> and <a title="compute the Hilbert series" href="_hilbert__Series.html">Hilbert series</a> of $M$.</p> </div> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i14 : n = 3 o14 = 3</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i15 : hilbertSeries(n, t) 3 4 1 - 2T + 3T + 4T o15 = ------------------ 3 (1 - T) o15 : Expression of class Divide</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i16 : hilbertPolynomial(n, t) o16 = 33*P - 23*P + 6*P 0 1 2 o16 : ProjectiveHilbertPolynomial</code></pre> </td> </tr> </table> <div> <p>A Betti tally can be multiplied by an integer or by a rational number, and the values can be lifted to integers, when possible.</p> </div> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i17 : (1/2) * t 0 1 2 1 7 o17 = total: - 1 - 2 2 1 0: - 1 . 2 3 1: . . - 2 2: . . 2 o17 : BettiTally</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i18 : 2 * oo 0 1 2 o18 = total: 1 2 7 0: 1 2 . 1: . . 3 2: . . 4 o18 : BettiTally</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i19 : lift(oo,ZZ) 0 1 2 o19 = total: 1 2 7 0: 1 2 . 1: . . 3 2: . . 4 o19 : BettiTally</code></pre> </td> </tr> </table> </div> <div> <h3>Menu</h3> <ul> <li><span><a title="the class of all multigraded Betti tallies" href="___Multigraded__Betti__Tally.html">MultigradedBettiTally</a> -- the class of all multigraded Betti tallies</span></li> </ul> </div> <div> <div class="waystouse"> <h2>Types of Betti tally:</h2> <ul> <li><span><a title="the class of all multigraded Betti tallies" href="___Multigraded__Betti__Tally.html">MultigradedBettiTally</a> -- the class of all multigraded Betti tallies</span></li> </ul> <h2>Functions and methods returning a Betti tally:</h2> <ul> <li><span><a title="display or modify a Betti diagram" href="_betti.html">betti</a> -- display or modify a Betti diagram</span></li> <li><kbd>BettiTally ** BettiTally</kbd></li> <li><kbd>BettiTally ++ BettiTally</kbd></li> <li><kbd>BettiTally Array</kbd></li> <li><kbd>BettiTally ZZ</kbd></li> <li><kbd>dual(BettiTally)</kbd></li> <li><kbd>lift(BettiTally,type of ZZ)</kbd></li> <li><kbd>QQ * BettiTally</kbd></li> <li><kbd>ZZ * BettiTally</kbd></li> <li><span><a title="minimal betti numbers of (the minimal free resolution of) a homogeneous ideal or module" href="_minimal__Betti.html">minimalBetti</a> -- minimal betti numbers of (the minimal free resolution of) a homogeneous ideal or module</span></li> <li><span><kbd>minimalBetti(Ideal)</kbd> -- see <span><a title="minimal betti numbers of (the minimal free resolution of) a homogeneous ideal or module" href="_minimal__Betti.html">minimalBetti</a> -- minimal betti numbers of (the minimal free resolution of) a homogeneous ideal or module</span></span></li> <li><span><kbd>minimalBetti(Module)</kbd> -- see <span><a title="minimal betti numbers of (the minimal free resolution of) a homogeneous ideal or module" href="_minimal__Betti.html">minimalBetti</a> -- minimal betti numbers of (the minimal free resolution of) a homogeneous ideal or module</span></span></li> <li><span><span class="tt">truncate(BettiTally,InfiniteNumber,InfiniteNumber)</span> (missing documentation)<!--tag: (truncate,BettiTally,InfiniteNumber,InfiniteNumber)--> </span></li> <li><span><span class="tt">truncate(BettiTally,InfiniteNumber,ZZ)</span> (missing documentation)<!--tag: (truncate,BettiTally,InfiniteNumber,ZZ)--> </span></li> <li><span><span class="tt">truncate(BettiTally,ZZ,InfiniteNumber)</span> (missing documentation)<!--tag: (truncate,BettiTally,ZZ,InfiniteNumber)--> </span></li> <li><span><span class="tt">truncate(BettiTally,ZZ,ZZ)</span> (missing documentation)<!--tag: (truncate,BettiTally,ZZ,ZZ)--> </span></li> </ul> <h2>Methods that use a Betti tally:</h2> <ul> <li><span><a title="view and set the weight vector of a Betti diagram" href="_betti_lp__Betti__Tally_rp.html">betti(BettiTally)</a> -- view and set the weight vector of a Betti diagram</span></li> <li><kbd>codim(BettiTally)</kbd></li> <li><kbd>degree(BettiTally)</kbd></li> <li><kbd>hilbertPolynomial(ZZ,BettiTally)</kbd></li> <li><kbd>hilbertSeries(ZZ,BettiTally)</kbd></li> <li><kbd>pdim(BettiTally)</kbd></li> <li><kbd>poincare(BettiTally)</kbd></li> <li><kbd>regularity(BettiTally)</kbd></li> <li><span><kbd>multigraded(BettiTally)</kbd> -- see <span><a title="convert a Betti tally into a multigraded Betti tally" href="_multigraded.html">multigraded</a> -- convert a Betti tally into a multigraded Betti tally</span></span></li> <li><span><a title="construct a chain complex with prescribed Betti table" href="../../OldChainComplexes/html/___Ring_sp%5E_sp__Betti__Tally.html">Ring ^ BettiTally</a></span></li> </ul> </div> <div class="waystouse"> <h2>For the programmer</h2> <p>The object <a title="the class of all Betti tallies" href="___Betti__Tally.html">BettiTally</a> is <span>a <a title="the class of all mutable types" href="___Type.html">type</a></span>, with ancestor classes <a href="___Virtual__Tally.html">VirtualTally</a> < <a title="the class of all hash tables" href="___Hash__Table.html">HashTable</a> < <a title="the class of all things" href="___Thing.html">Thing</a>.</p> </div> <hr> <div class="waystouse"> <p>The source of this document is in <span class="tt">Macaulay2Doc/functions/betti-doc.m2:249:0</span>.</p> </div> </div> </div> </body> </html>
Simpan