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 revisionBoth sides next revision
tutorial:random [2014/01/03 15:45] – external edit 127.0.0.1tutorial:random [2017/06/12 13:45] – [Random points on the unit sphere] reduced number of points to speed up testing oroehrig
Line 3: Line 3:
 ===== Random points on the unit sphere ===== ===== Random points on the unit sphere =====
  
-The easiest way to randomly construct a polytope is by sampling points on the unit sphere.  The following chooses 500 points on the units sphere in 3-space.+The easiest way to randomly construct a polytope is by sampling points on the unit sphere.  The following chooses 100 points on the units sphere in 3-space.
 <code> <code>
-polytope > $p1=rand_sphere(3,500);+polytope > $p1=rand_sphere(3,100);
 polytope > print $p1->SIMPLICIAL; polytope > print $p1->SIMPLICIAL;
 1 1
  • user_guide/tutorials/random.txt
  • Last modified: 2019/02/04 22:55
  • by 127.0.0.1