This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: gsl_ran_gamma
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: John Lamb <J dot D dot Lamb at btinternet dot com>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Fri, 3 Sep 2004 15:42:43 +0100
- Subject: Re: gsl_ran_gamma
- References: <413608BE.1060201@btinternet.com>
John Lamb writes:
> I.e. Marsaglia and Tsang is obviously better. There's nothing in either
> code that would make it substantially more or less efficient on
> different architectures
I'd be interested to see it, and a reference to the original paper (or
link, if it is available online).
> The obvious downside of doing this is that gsl would generate a
> different sequence of random variates
This is not a major problem --- the new generator could have a
different name, e.g. gsl_ran_gamma_mt.
--
Brian Gough
Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/