This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSL


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]