I would like to generate some pseudorandom numbers and up until now I've been very content with the .Net library's Random.Next(int min, int max)
function. PRNGs of this variety are supposed to be using a Uniform distribution, but I would very much like to generate some numbers using an Exponential Distribution.
I'm programming in C#, although I'll accept pseudocode or C++, Java or the like.
Any suggestions / code snippets / algorithms / thoughts?