workshops:workshop1109

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
workshop1109 [2011/09/13 06:35] – [polymake Workshop at UC Berkeley] joswigworkshop1109 [2011/09/14 16:03] – started solutions section joswig
Line 57: Line 57:
 print $rp2->HOMOLOGY; print $rp2->HOMOLOGY;
 fan::normal_fan(load("snub-dodecahedron.poly"))->VISUAL; fan::normal_fan(load("snub-dodecahedron.poly"))->VISUAL;
 +</code>
 +
 +===== Solutions to Selected Exercises =====
 +
 +==== 10. Smooth fan in R^3 with 10 rays ====
 +
 +<code>
 +$c=cube(3);
 +$cc=new Polytope(INEQUALITIES=>($c->FACETS/(new Matrix<Rational>([[2,-1,-1,-1],[2,-1,1,1],[2,1,-1,1],[2,1,1,-1]]))));
 +print $cc->N_FACETS, ", ", $cc->SMOOTH;
 +$cc->VISUAL;
 +$f=fan::normal_fan($cc);
 +$f->VISUAL;
 </code> </code>
  • workshops/workshop1109.txt
  • Last modified: 2019/01/29 21:46
  • by 127.0.0.1