Re: Generating normally distributed randoms in CL
- From: Madhu <enometh@xxxxxxxx>
- Date: Thu, 31 Jul 2008 02:41:40 +0530
* (Raymond Toy (RT/EUS)) <sxd1w1b9l7y.fsf@xxxxxxxxxxxxxxx> :
Wrote on Wed, 30 Jul 2008 16:21:37 -0400:
| Madhu> I suggest that there is another reason to use a well known
| Madhu> implementation.
|
| Madhu> For serious simulations you want to publish repeatable results,
| Madhu> _independent_ of the Common Lisp implementation you use---In
| Madhu> that case your simulation program cannot depend on a package
| Madhu> which calls CL:RANDOM [as different implementations will
| Madhu> produce different sequences of numbers]. It is preferable to
| Madhu> use FFI to a "Standard" C implementation, like the "RANLIB.C"
| Madhu> package from NETLIB,
|
| I would suggest that if your simulation results depended on the
| sequence of random numbers, then your simulation is broken.
No that is not what I'm suggesting.
The point I'm making is about getting the exact same simulation result
(after seeding the rng identically) on different runs of the
application. [This is often required to verify your simulation is NOT
broken in some ways]
If you switch lisp implementation you get a different number from your
program because you are switching the rng. The suggestion to use a well
known RNG was to get identical results regardless of the lisp
implementation.
Am I missing something?
| Well, assuming that the simulation wasn't about the rng, and assuming
| the random number generator itself is not broken. :-)
--
Madhu
.
- Follow-Ups:
- Re: Generating normally distributed randoms in CL
- From: Raymond Toy (RT/EUS)
- Re: Generating normally distributed randoms in CL
- 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
- Re: Generating normally distributed randoms in CL
- From: Raymond Toy (RT/EUS)
- Generating normally distributed randoms in CL
- Prev by Date: Re: Generating normally distributed randoms in CL
- Next by Date: Re: Lisp based DSL for bio on Ars Technica
- Previous by thread: Re: Generating normally distributed randoms in CL
- Next by thread: Re: Generating normally distributed randoms in CL
- Index(es):
Relevant Pages
|