From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92555 invoked by alias); 6 Jul 2015 18:49:19 -0000 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 Received: (qmail 92541 invoked by uid 89); 6 Jul 2015 18:49:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: proofpoint5.lanl.gov Received: from proofpoint5.lanl.gov (HELO proofpoint5.lanl.gov) (204.121.3.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 06 Jul 2015 18:49:18 +0000 Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailgate5.lanl.gov (8.14.7/8.14.7) with ESMTP id t66InDiM003072 for ; Mon, 6 Jul 2015 12:49:14 -0600 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 344C9138BF34 for ; Mon, 6 Jul 2015 12:49:13 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay1.lanl.gov Received: from manticore.lanl.gov (manticore.lanl.gov [130.55.124.157]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 25CB5138BF33 for ; Mon, 6 Jul 2015 12:49:13 -0600 (MDT) Message-ID: <559ACDA9.70504@lanl.gov> Date: Mon, 06 Jul 2015 18:49:00 -0000 From: Gerard Jungman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: gsl-discuss@sourceware.org Subject: Re: new interface for simulated annealing References: <559AC9EA.2080005@familie-sitte.org> In-Reply-To: <559AC9EA.2080005@familie-sitte.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-07-06_09:2015-07-06,2015-07-06,1970-01-01 signatures=0 X-SW-Source: 2015-q3/txt/msg00001.txt.bz2 On 07/06/2015 12:33 PM, Matthias Sitte wrote: > There's one more question: The "ode-initval2" implementation always takes a > "double y[]" array as input/output. Other method like the Nelder-Mead in > "multimin" (which is one of my other candidate algorithms) work in terms of > "gsl_vector" and "gsl_matrix". I'm a bit confused: What is the preferred GSL way > to deal with this? That was done to insure that the interfaces are as general as possible. We don't want to force people to use the GSL containers. Not everybody wants the heap management, etc, that is implicit in the main containers, and forcing them to use the "view" containers is not very polite. In my opinion, the containers are badly designed. Don't bake them into the interfaces. -- G. Jungman