<div class="thumb tright"><div class="thumbinner" style="width:222px;"><a href="//commons.wikimedia.org/wiki/File:3-ary_Boolean_functions;_Walsh_equivalence_classes.svg" class="image"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/3-ary_Boolean_functions%3B_Walsh_equivalence_classes.svg/220px-3-ary_Boolean_functions%3B_Walsh_equivalence_classes.svg.png" decoding="async" width="220" height="220" class="thumbimage" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/3-ary_Boolean_functions%3B_Walsh_equivalence_classes.svg/330px-3-ary_Boolean_functions%3B_Walsh_equivalence_classes.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/3-ary_Boolean_functions%3B_Walsh_equivalence_classes.svg/440px-3-ary_Boolean_functions%3B_Walsh_equivalence_classes.svg.png 2x" data-file-width="870" data-file-height="870"></a>  <div class="thumbcaption"><div class="magnify"><a href="//commons.wikimedia.org/wiki/File:3-ary_Boolean_functions;_Walsh_equivalence_classes.svg" class="internal" title="Enlarge"></a></div>Matrix showing the same elements and some of the symmetry</div></div></div>
<p><a href="https://en.wikipedia.org/wiki/Petrie_polygon" class="extiw" title="w:Petrie polygon">Petrie polygon</a> graph of the <a href="https://en.wikipedia.org/wiki/8-cube" class="extiw" title="w:8-cube">8-dimensional cube</a>, the <a href="https://en.wikipedia.org/wiki/Hasse_diagram" class="extiw" title="w:Hasse diagram">Hasse diagram</a> of an 8 element set's <a href="https://en.wikipedia.org/wiki/en:power_set" class="extiw" title="w:en:power set">power set</a>
</p><p>Compare the Petrie polygon graph of the <a href="https://en.wikipedia.org/wiki/Tesseract" class="extiw" title="w:Tesseract">4-dimensional cube</a>: <a href="//commons.wikimedia.org/wiki/File:Hypercubestar.svg" class="image"><img alt="Hypercubestar.svg" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Hypercubestar.svg/100px-Hypercubestar.svg.png" decoding="async" width="100" height="100" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Hypercubestar.svg/150px-Hypercubestar.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Hypercubestar.svg/200px-Hypercubestar.svg.png 2x" data-file-width="325" data-file-height="325"></a>
</p><p>The colors represent the <a href="https://en.wikiversity.org/wiki/Equivalence_classes_of_Boolean_functions#wec" class="extiw" title="v:Equivalence classes of Boolean functions">Walsh equivalence classes</a> of <a href="https://en.wikiversity.org/wiki/3-ary_Boolean_functions" class="extiw" title="v:3-ary Boolean functions">3-ary Boolean functions</a>.
</p>
Simpler Python code is shown in <a href="//commons.wikimedia.org/wiki/File:3-ary_Boolean_functions_in_octeract_graph;_related_to_4-ary_functions_with_weight_1;_01.svg" title="File:3-ary Boolean functions in octeract graph; related to 4-ary functions with weight 1; 01.svg"><b>this</b></a> file. It makes use of code created with the Python code below.
<table><tbody><tr><td style="padding: 15px;"><a href="//commons.wikimedia.org/wiki/File:Watchduck.svg" class="image"><img alt="Watchduck.svg" src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Watchduck.svg/40px-Watchduck.svg.png" decoding="async" width="40" height="46" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Watchduck.svg/60px-Watchduck.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Watchduck.svg/80px-Watchduck.svg.png 2x" data-file-width="703" data-file-height="806"></a>
</td>
<td><a href="//commons.wikimedia.org/wiki/User:Watchduck" title="User:Watchduck">Watchduck</a><br><span style="color: gray; font-size: 80%;">You can name the author as "T. Piesk", "Tilman Piesk" or "Watchduck".</span>
</td></tr></tbody></table>
CC BY 3.0
<span class="int-own-work" lang="en">Own work</span>