This is the mail archive of the
gsl-discuss@sourceware.org
mailing list for the GSL project.
Re: Random number generators
Hello,
On Mon, 9 Jan 2006 21:14:15 +0000
Brian Gough <bjg@network-theory.co.uk> wrote:
> If there are some optimisations
> for ranlux I'd add them.
unfortunately there isn't much room for optimasation. The ranlux-family
is based on a generator with quite bad statistical properties, a so
called subtract-with-carry (SWC) generator. A quallity enhancement is
achieved by throwing away large chunks of the SWC sequence. If the
chunks of discarded numbers are too small, systematic erros may occur in
large scale simulations [1]. This makes ranlux-family of pseudorandom
number genrators intrinsically slow.
Heiko
[1] http://de.arxiv.org/abs/hep-lat/9805017
--
-- Geld fällt nicht vom Himmel. Man muß es sich hier auf Erden verdienen.
-- (Margaret Thatcher, brit. Politikerin)
-- Cluster Computing @ http://www.clustercomputing.de
-- Heiko Bauke @ http://www.uni-magdeburg.de/bauke