geometry.spheres.random_direction

geometry.spheres.random_direction = <function random_direction>[source]

Generates a random direction in S^{n-1}.

Currently only implemented for 2D and 3D.