News for hackers. Stuff that matters.
Re:Generating random points inside a sphere by machiavelli1024 on Saturday August 04, 2018 @07:18PM (#17688904)
Notice how the rejection method becomes useless for higher dimensions.

https://en.m.wikipedia.org/wiki/Curse_of_dimensionality

Re:Generating random points inside a sphere by peteretep on Sunday August 05, 2018 @05:22AM (#17690470)
While that's interesting, I'm having a complete lack of imagination fail on why one would be trying to solve this problem for higher dimensions, other than academic pursuits. Could you give a practical example?
Re:Generating random points inside a sphere by machiavelli1024 on Sunday August 05, 2018 @08:38AM (#17691031)
“Sampling from the uniform distribution on the N-dimensional Euclidean ball (the N-ball) and its surface (the N-sphere) is a tool useful in many diverse research fields, for instance Monte Carlo integration in physics, generating random directions for MCMC sampling on bounded regions, generating random correlation matrices, Monte Carlo analysis of random packing on the sphere, generating random rotations in cryptography as well as various simulation studies in statistics”

https://www.sciencedirect.com/science/article/pii/S0047259X1...