Skip to main content
added 1 character in body
Source Link
MWB
  • 1.7k
  • 2
  • 11
  • 20

There is a simple algorithm to pick a random point ON an $n$-dimensional hypersphere.

Is there one to sample a point from inside it? (Sampling points from a hypercube and rejecting them if they are not inside the hypersphere would scale extremely poorly with $n$, as the vast majority of points would be rejected)

There is a simple algorithm to pick a random point ON an $n$-dimensional hypersphere.

Is there one to sample a point from inside it? (Sampling points from a hypercube and rejecting them if they are not inside the hypersphere would scale extremely poorly with $n$ as the vast majority of points would be rejected)

There is a simple algorithm to pick a random point ON an $n$-dimensional hypersphere.

Is there one to sample a point from inside it? (Sampling points from a hypercube and rejecting them if they are not inside the hypersphere would scale extremely poorly with $n$, as the vast majority of points would be rejected)

Source Link
MWB
  • 1.7k
  • 2
  • 11
  • 20

Sampling a uniformly distributed point INSIDE a hypersphere?

There is a simple algorithm to pick a random point ON an $n$-dimensional hypersphere.

Is there one to sample a point from inside it? (Sampling points from a hypercube and rejecting them if they are not inside the hypersphere would scale extremely poorly with $n$ as the vast majority of points would be rejected)