Hi Jason, great answer, I learned something useful today :-)
Sebastian On Wed, May 27, 2015 at 4:07 PM, Jason Merrill <jwmerr...@gmail.com> wrote: > You might want to take a look at > http://en.m.wikipedia.org/wiki/Alias_method > > There's a nice, detailed exposition at > http://www.keithschwarz.com/darts-dice-coins/