This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: GSL
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Piero Foscari <quartz at interfree dot it>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Mon, 11 Oct 2004 15:27:12 +0100
- Subject: Re: GSL
- References: <5.1.1.6.0.20041005225016.0309a950@mail.interfree.it>
Piero Foscari writes:
> One thing isnt too clear, going for speed and Box-Muller is slowed down to
> stay reentrant... is then reentrance really a requirement along the whole
> project? I mean, other generators keep a state or even a whole set of
> values saved, why not do the same in this case?
There's a distinction between the functions in gsl_randist (variates
from distributions) and gsl_rng (generators). The functions for
producing non-uniform variates don't maintain any state, since it
would tend to make them very complicated.
--
Brian Gough
Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/