From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15400 invoked by alias); 11 Oct 2004 15:22:21 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 15388 invoked from network); 11 Oct 2004 15:22:19 -0000 Received: from unknown (HELO mail.ukfsn.org) (217.158.120.143) by sourceware.org with SMTP; 11 Oct 2004 15:22:19 -0000 Received: from localhost (lucy.ukfsn.org [127.0.0.1]) by mail.ukfsn.org (Postfix) with ESMTP id 4F0B5E6D39; Mon, 11 Oct 2004 16:11:50 +0100 (BST) Received: from mail.ukfsn.org ([127.0.0.1]) by localhost (lucy.ukfsn.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27082-06; Mon, 11 Oct 2004 16:11:50 +0100 (BST) Received: from localhost (dsl-80-42-173-140.access.uk.tiscali.com [80.42.173.140]) by mail.ukfsn.org (Postfix) with ESMTP id 0FE42E6D38; Mon, 11 Oct 2004 16:11:50 +0100 (BST) Received: by localhost with local (Exim 3.35 #1 (Debian)) id 1CH18q-0005jF-00; Mon, 11 Oct 2004 15:27:12 +0100 From: Brian Gough MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16746.38976.608996.50596@network-theory.co.uk> Date: Mon, 11 Oct 2004 15:22:00 -0000 To: Piero Foscari Cc: gsl-discuss@sources.redhat.com Subject: Re: GSL In-Reply-To: <5.1.1.6.0.20041005225016.0309a950@mail.interfree.it> References: <5.1.1.6.0.20041005225016.0309a950@mail.interfree.it> X-SW-Source: 2004-q4/txt/msg00007.txt.bz2 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/