Generates a random vector from a uniform distribution in a sphere centered at the origin

1 | ```
rballunif(n,d)
``` |

`n` |
Dimension of the random vector to be generated |

`d` |
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
`d`

Giovanni Petris GPetris@uark.edu

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.