News for hackers. Stuff that matters.
Re:Random Points on a Sphere by ColinWright on Monday April 27, 2015 @07:06AM (#9445468)
In even dimensions, volume of a sphere of radius 1 is:

    V_{2k} = pi^k/k!
For 10 dimensions, the hypersphere is of volume 2.55, but the enclosing box is of volume 2^10 = 1024. So roughly one in 400 trials gets you a point inside the sphere. Not good odds.

There are no comments on this comment yet.