GSL
Brian Gough
bjg@network-theory.co.uk
Mon Oct 11 15:22:00 GMT 2004
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/
More information about the Gsl-discuss
mailing list