February 18, 2016 Generators A generator (as I will use the term here) is an object that can “generate” other objects on demand. They work like random generators,…

April 28, 2009 Generating Random Integers With Arbitrary Probabilities I finally laid my hands on Donald Knuthâs The Art of Computer Programming (what a wonderful set of books!), and found a neat algorithm…

April 15, 2009 Generating Random Points from Arbitrary Distributions for 2D and Up I have already covered how to generate random numbers from arbitrary distributions in the one-dimensional case. Here we look at a generalisation of that…

September 21, 2008 Generating Random Numbers with Arbitrary Distributions For many applications, detailed statistical models are overkill. Instead, we can get away with a rough description of the distribution – not in mathematical…