From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28787 invoked by alias); 24 Jul 2009 11:40:07 -0000 Received: (qmail 28778 invoked by uid 22791); 24 Jul 2009 11:40:06 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_05,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.network-theory.co.uk (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Jul 2009 11:39:58 +0000 Date: Fri, 24 Jul 2009 11:40:00 -0000 Message-ID: From: Brian Gough To: Szymon Jaroszewicz Cc: gsl-discuss@sourceware.org Subject: Re: Monte Carlo API problem In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Message-Mac: 1e9f9c7e590dcf0ed015ef47de9c3d1e Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00004.txt.bz2 At Mon, 20 Jul 2009 10:10:41 -0400 (EDT), Szymon Jaroszewicz wrote: > Attached is the patch. As there are many parameters for miser and > vegas, I added a structure which holds all the parameters and added > functions which copy the values in and out of the structure. > Otherwise we would need over 10 getter/setter functions for each > method. Let me know if you like this approach, I'll update the > manual then. Thanks for the patch. That looks fine. Sorry for the delay in replying. Minor point, using gsl_monte_vegas_params_get instead of gsl_monte_vegas_get_params would be closer to the other _get,_set functions in the library. It is nice that it only adds the the API and is backwards compatible, so I can put it in the 1.13 release which I am currently preparing. I've fixed all the outstanding bugs I wanted to clear so it is almost ready to go. -- Brian Gough Network Theory Ltd, Publishing Free Software Manuals --- http://www.network-theory.co.uk/