Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
sci.math.*
»
sci.math
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
How to make weighted random numbers?
Replies:
7
Last Post:
Feb 28, 2009 3:49 AM




Re: How to make weighted random numbers?
Posted:
Feb 28, 2009 3:49 AM


> Say, I want to fill a sphere uniformly with random dots > I don't want a uniform sphere
Assuming you want the centre more densely populated...
How about randomly filling a unit sphere uniformly and then for every point generated run it through a nonlinear translation than maps 0 to 0 and 1 to infinity through any desired scaling method?
 Kev



