Re: Generating normally distributed randoms in CL
- From: Leonardo Varuzza <varuzza@xxxxxxxxx>
- Date: Wed, 30 Jul 2008 13:18:57 -0700 (PDT)
On Jul 30, 12:01 pm, Madhu <enom...@xxxxxxxx> wrote:
* Tamas K Papp <6faot4Fagfg...@xxxxxxxxxxxxxxxxxx> :
Wrote on 30 Jul 2008 09:00:20 GMT:
For serious simulations you want to publish repeatable results,
_independent_ of the Common Lisp implementation you use---In that case
your simulation program cannot depend on a package which calls CL:RANDOM
[as different implementations will produce different sequences of
numbers]. It is preferable to use FFI to a "Standard" C implementation,
like the "RANLIB.C" package from NETLIB,
--
Madhu
In SBCL the random function uses the well known algorithm of Mersenne
Twister.
http://sbcl-internals.cliki.net/RANDOM-MT19937
.
- Follow-Ups:
- References:
- Generating normally distributed randoms in CL
- From: krzysztof.kielak@xxxxxxxxxxxxxx
- Re: Generating normally distributed randoms in CL
- From: Pascal J. Bourguignon
- Re: Generating normally distributed randoms in CL
- From: Tamas K Papp
- Re: Generating normally distributed randoms in CL
- From: Madhu
- Generating normally distributed randoms in CL
- Prev by Date: Re: paging all socket geniuses
- Next by Date: Re: Generating normally distributed randoms in CL
- Previous by thread: Re: Generating normally distributed randoms in CL
- Next by thread: Re: Generating normally distributed randoms in CL
- Index(es):