user_guide:tutorials:random

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:random [2011/08/17 08:19] – [Random polytopes with are neither simplicial nor simple] joswigtutorial:random [2014/01/03 15:45] – external edit 127.0.0.1
Line 17: Line 17:
 polytope > $p1=rand_sphere($d,$m); polytope > $p1=rand_sphere($d,$m);
 polytope > $p2=polarize($p1); polytope > $p2=polarize($p1);
-polytope > $p3=new Polytope(VERTICES=>rand_vert($p2->VERTICES,$n));+polytope > $p3=new Polytope(POINTS=>rand_vert($p2->VERTICES,$n));
 polytope > print $p3->SIMPLICIAL, " ", $p3->SIMPLE, "\n", $p3->F_VECTOR; polytope > print $p3->SIMPLICIAL, " ", $p3->SIMPLE, "\n", $p3->F_VECTOR;
 0 0 0 0
 30 166 264 128 30 166 264 128
 </code> </code>
  • user_guide/tutorials/random.txt
  • Last modified: 2019/02/04 22:55
  • by 127.0.0.1