Generating random numbers from any distribution
Tuesday, July 29th, 2008At work I needed to generate random numbers following a combination of two gaussian distributions - which gave me some headache until someone pointed me to using a Monte Carlo approach. Here's how.