Algorithms

Generate Uniform Random Points within a Circle

Let’s say we have only access to uniform random number generator which generates random points between 0 and 1 (let’s denote it rand()), and we are asked to generate uniformly random points within a given circle with specified radius (let’s say for now). The first idea that comes to mind is to utilize the random… Continue reading Generate Uniform Random Points within a Circle