Generates a random vector from a uniform distribution in a sphere centered at the origin
Dimension of the random vector to be generated
Radius of the sphere
The function is not vectorized: it is intended to generate one random vector at a time.
An pseudo-random vector from a uniform distribution in the
n-dimensional sphere centered at the origin and having radius
Giovanni Petris [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.