From: "Mauricio Fernández" Date: 2004-08-13T16:41:22+09:00 Subject: Re: Random variable library? On Fri, Aug 13, 2004 at 11:26:22AM +0900, Gavin Sinclair wrote: > The work I'm doing now doesn't strictly require, but would benefit from a > random number generator that: > - obeyed the distribution you want, with the parameters you want You can do that easily by taking a uniform random variable and feeding it into the distribution function you want. > - spat out numbers between a given minimum and maximum like min + rand(max-min+1) ? > - could be configured to return Integers or Floats -- Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com