Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
tutorial:pcom [2011/06/16 10:12] – headline herr | user_guide:tutorials:pcom [2019/01/25 09:38] – ↷ Page moved from user_guide:pcom to user_guide:tutorials:pcom oroehrig | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Polyhedral complexes in polymake ==== | ==== Polyhedral complexes in polymake ==== | ||
- | Polyhedral complexes are contained in the application '' | + | Polyhedral complexes are contained in the application '' |
+ | < | ||
+ | > application " | ||
+ | </ | ||
+ | To define polyhedral complexes in '' | ||
< | < | ||
fan > $pc1 = new PolyhedralComplex(POINTS=> | fan > $pc1 = new PolyhedralComplex(POINTS=> | ||
- | fan > $pc2 = new PolyhedralComplex(POINTS=> | ||
</ | </ | ||
Line 11: | Line 14: | ||
< | < | ||
- | fan > print $pc-> | + | fan > print $pc1-> |
+ | {0 1 2} | ||
+ | {2 3} | ||
</ | </ | ||
- | {{ :tutorial:pcom2.png }} | + | {{ user_guide:pcom2.png }} |
+ | === Triangulations === | ||
Triangulations of polytopes form an important special class of polytopal complexes. | Triangulations of polytopes form an important special class of polytopal complexes. | ||
< | < | ||
Line 21: | Line 27: | ||
fan > $triangulation=new PolyhedralComplex(VERTICES=> | fan > $triangulation=new PolyhedralComplex(VERTICES=> | ||
</ | </ | ||
- | In the future, the polytope object '' | + | === Voronoi Diagrams |
+ | There are seperate tutorials for [[voronoi|Voronoi diagrams]] and [[regular_subdivisions|regluar |