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
/
Matroids
/
html
/
Edit File:
_minor.html
<!DOCTYPE html> <html lang="en"> <head> <title>minor -- minor of matroid</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="../../Macaulay2Doc/html/index.html">Documentation </a> <br><a href="../../Macaulay2Doc/html/_packages_spprovided_spwith_sp__Macaulay2.html">Packages</a> » <span><a title="a package for computations with matroids" href="index.html">Matroids</a> :: <a title="minor of matroid" href="_minor.html">minor</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="_modular__Cut.html">next</a> | <a href="_max__Weight__Basis.html">previous</a> | <a href="_modular__Cut.html">forward</a> | <a href="_max__Weight__Basis.html">backward</a> | up | <a href="master.html">index</a> | <a href="toc.html">toc</a> </div> </div> <hr> <div> <h1>minor -- minor of matroid</h1> <ul> <li> <dl class="element"> <dt>Usage: </dt> <dd><code class="language-macaulay2">minor(M, X, Y)</code></dd> </dl> </li> <li>Inputs: <ul> <li><span><span class="tt">M</span>, <span>a <a title="the class of all matroids" href="___Matroid.html">matroid</a></span>, </span></li> <li><span><span class="tt">X</span>, <span>a <a title="the class of all sets" href="../../Macaulay2Doc/html/___Set.html">set</a></span>, of indices, or a <a title="the class of all lists -- {...}" href="../../Macaulay2Doc/html/___List.html">list</a> of elements in M</span></li> <li><span><span class="tt">Y</span>, <span>a <a title="the class of all sets" href="../../Macaulay2Doc/html/___Set.html">set</a></span>, of indices, or a <a title="the class of all lists -- {...}" href="../../Macaulay2Doc/html/___List.html">list</a> of elements in M, disjoint from X</span></li> </ul> </li> <li>Outputs: <ul> <li><span><span>a <a title="the class of all matroids" href="___Matroid.html">matroid</a></span>, the minor M / X \ Y</span></li> </ul> </li> </ul> <div> <h2>Description</h2> <div> <p>The minor M / X \ Y of M is given by contracting X and deleting Y from M. The resulting matroid is independent of the order in which deletion and contraction is done. If X (or Y) is a set (of indices in M.groundSet), then X is identified with the sublist of elements of M with indices in X: cf. <a title="(internal) ground set" href="_ground__Set.html">groundSet</a> for more on this package-wide convention.</p> <p></p> </div> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i1 : M = matroid random(ZZ^3,ZZ^6) o1 = a "matroid" of rank 3 on 6 elements o1 : Matroid</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i2 : M_* o2 = {| 8 |, | 7 |, | 3 |, | 8 |, | 8 |, | 3 |} | 1 | | 8 | | 7 | | 5 | | 5 | | 6 | | 3 | | 3 | | 8 | | 7 | | 2 | | 3 | o2 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i3 : M.groundSet o3 = set {0, 1, 2, 3, 4, 5} o3 : Set</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i4 : (X, Y) = (set{3}, set{0,1}) o4 = (set {3}, set {0, 1}) o4 : Sequence</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i5 : (X1, Y1) = (M_X, M_Y)/toList o5 = ({| 8 |}, {| 7 |, | 8 |}) | 5 | | 8 | | 1 | | 7 | | 3 | | 3 | o5 : Sequence</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i6 : N = minor(M, X, Y) o6 = a "matroid" of rank 2 on 3 elements o6 : Matroid</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i7 : peek N o7 = Matroid{bases => {set {0, 1}, set {0, 2}, set {1, 2}}} cache => CacheTable{...1...} groundSet => set {0, 1, 2} rank => 2</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i8 : N == minor(M, X1, Y1) o8 = true</code></pre> </td> </tr> </table> <div> <p></p> <p>Note that there is potential ambiguity for the second argument - namely, whether or not Y is treated with respect to the ground set of M or M / X (which are different). This method assumes that the indices of Y (and X) are taken with respect to the ground set of M.</p> <p>If one already has the indices Y0 of Y in M / X (or the indices X0 of X in M \ Y), one can simply use the notation M <a title="contraction of subset of matroid" href="_contraction.html">/</a> X <a title="deletion of subset of matroid" href="_deletion.html">\</a> Y0 (or (M \ Y) / X0). Thus this method serves purely as a convenience, to save the user the (trivial) task of computing Y0 from Y.</p> <p>If X and Y are not disjoint, then an error is thrown (thus one should <a title="set difference" href="../../Macaulay2Doc/html/___Set_sp-_sp__Set.html">subtract</a> X from Y beforehand).</p> <p></p> </div> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i9 : M5 = matroid completeGraph 5 o9 = a "matroid" of rank 4 on 10 elements o9 : Matroid</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i10 : M5.groundSet o10 = set {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} o10 : Set</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i11 : N = minor(M5, set{8}, set{3,4,9}) o11 = a "matroid" of rank 3 on 6 elements o11 : Matroid</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i12 : areIsomorphic(N, matroid completeGraph 4) o12 = true</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i13 : N == (M5 \ set{3,4,9}) / set{6} -- after deleting 3,4 (and 9), index 8 -> 6 o13 = true</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i14 : N == M5 / set{8} \ set{3,4,8} -- after contracting 8, index 9 -> 8 o14 = true</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i15 : (try minor(M5, set{8}, set{3,4,8,9})) === null o15 = true</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i16 : minor(M5, set{8}, set{3,4,8,9} - set{8}) o16 = a "matroid" of rank 3 on 6 elements o16 : Matroid</code></pre> </td> </tr> </table> </div> <div> <h2>See also</h2> <ul> <li><span><a title="deletion of subset of matroid" href="_deletion.html">deletion</a> -- deletion of subset of matroid</span></li> <li><span><a title="contraction of subset of matroid" href="_contraction.html">contraction</a> -- contraction of subset of matroid</span></li> <li><span><a title="whether a matroid has a given minor" href="_has__Minor.html">hasMinor</a> -- whether a matroid has a given minor</span></li> </ul> </div> <div> <div class="waystouse"> <h2>Ways to use <span class="tt">minor</span>:</h2> <ul> <li><kbd>minor(Matroid,List,List)</kbd></li> <li><kbd>minor(Matroid,Set,Set)</kbd></li> </ul> </div> <div class="waystouse"> <h2>For the programmer</h2> <p>The object <a title="minor of matroid" href="_minor.html">minor</a> is <span>a <a title="a type of method function" href="../../Macaulay2Doc/html/___Method__Function.html">method function</a></span>.</p> </div> <hr> <div class="waystouse"> <p>The source of this document is in <span class="tt">Matroids/doc-Matroids.m2:1486:0</span>.</p> </div> </div> </div> </body> </html>
Simpan