Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2010 16:24:18 +0100
From:      Rolf Nielsen <listreader@lazlarlyricon.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Cc:        j65nko@gmail.com, Jason Lenthe <lenthe@comcast.net>, green_tiger@comcast.net
Subject:   Re: Generating normally distributed random numbers.
Message-ID:  <4B65A0A2.1020007@lazlarlyricon.com>
In-Reply-To: <4B65996D.2010908@comcast.net>
References:  <4B64F938.5000605@lazlarlyricon.com> <4B65996D.2010908@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-01-31 15:53, Jason Lenthe wrote:
>
>> I am working on a project where I have the need to generate normally
>> distributed random positive integers, preferably unsigned 64 bit (or
>> even longer if possible) integers. More specifically, I will need the
>> ability to supply the expected value and the standard deviation for the
>> desired distribution, so a standard normal distribution will not do.
>>
>> Is there anyone out there who knows how to accomplish this? I have no
>> idea whatsoever, and for all I know there may already be a function that
>> does this in the math library. I'm quite accomplished when it comes to
>> math, but strangely I've never programmed computers for it.


Thank you for your suggestions. I haven't yet looked too carefully into 
them, so I haven't decided which approach to use. But your suggestions 
have given me ideas to work on.

Thanks,

Rolf Nielsen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B65A0A2.1020007>