Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 01229D8A8 for ; Fri, 17 Aug 2012 10:02:10 +0000 (UTC) Received: (qmail 65612 invoked by uid 500); 17 Aug 2012 10:02:08 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 65540 invoked by uid 500); 17 Aug 2012 10:02:08 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 65530 invoked by uid 99); 17 Aug 2012 10:02:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2012 10:02:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.74.71.28] (HELO sif.is.scarlet.be) (193.74.71.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2012 10:02:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scarlet.be; s=scarlet; t=1345197701; bh=TjmdPY7rkGMLRljXMdxf/pkAYmc6rOAgBLxlU30FlyE=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To; b=3SIyQGDyzS0tnSSQ0+2RWXjuD72ogGrkM3R2QcGeajy9pKbV0VwbHKAdEOl90qjAO L3LQCl989ioB+jnAvJKFS5bffzRzrQjtCub9SkhsIiX7tG1qRASLfgv/WselN5pj2f RUBJmTJw7UlBMtWYJvSzjiSxaGZWEGbqDVsP3yug= Received: from mail.harfang.homelinux.org (ip-62-235-218-104.dsl.scarlet.be [62.235.218.104]) by sif.is.scarlet.be (8.14.5/8.14.5) with ESMTP id q7HA1e8G022708 for ; Fri, 17 Aug 2012 12:01:40 +0200 X-Scarlet: d=1345197700 c=62.235.218.104 Received: from localhost (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 1D3E961B61 for ; Fri, 17 Aug 2012 12:01:40 +0200 (CEST) Received: from mail.harfang.homelinux.org ([192.168.20.11]) by localhost (mail.harfang.homelinux.org [192.168.20.11]) (amavisd-new, port 10024) with ESMTP id 8vaGQ46xuHn5 for ; Fri, 17 Aug 2012 12:01:36 +0200 (CEST) Received: from dusk.harfang.homelinux.org (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 18D1F617E4 for ; Fri, 17 Aug 2012 12:01:36 +0200 (CEST) Received: from eran by dusk.harfang.homelinux.org with local (Exim 4.77) (envelope-from ) id 1T2JN1-0004Dw-VI for dev@commons.apache.org; Fri, 17 Aug 2012 12:01:35 +0200 Date: Fri, 17 Aug 2012 12:01:35 +0200 From: Gilles Sadowski To: dev@commons.apache.org Subject: Re: [math] Changes in the Gamma class Message-ID: <20120817100135.GX20488@dusk.harfang.homelinux.org> Mail-Followup-To: dev@commons.apache.org References: <20120815231641.GJ24856@dusk.harfang.homelinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: Tiny Tux X-PGP-Key-Fingerprint: 53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641 User-Agent: Mutt/1.5.21 (2010-09-15) X-DCC-scarlet.be-Metrics: sif 20001; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: clamav-milter 0.97.1-exp at sif X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Hi. > > 2012/8/16 Gilles Sadowski : > > On Wed, Aug 15, 2012 at 04:58:39PM +0200, S�bastien Brisard wrote: > >> Dear All, > >> I'm currently working on accuracy improvements of the incomplete beta > >> function, based on the NSWC library [1]. It's quite a long work, but it > >> looks promising, since the implementation of the Gamma function they > >> propose (I had to work first on Gamma before starting the actual work on > >> Beta) seems to be much more accurate than the current implementation in CM3 > >> (3-4 ulps, TBC). > >> > >> When I'm done, I think I will replace the current impl of Gamma with the > >> NSWC. The problem is that a few months ago, while working on MATH-753, I > >> exposed a few constants as well as the method lanczos, which will probably > >> no longer be necessary (NSWC does not use Lanczos, but minimax rational > >> approximations). My worry is that we are approaching the release of 3.1, > >> and I think it would be a shame if we froze the exposition of these > >> constants and methods. The trouble is that my current work on Gamma and > >> Beta is quite slow, I'm not sure I can finish it before the expected > >> release. > >> > >> So, should I revert the changes made for MATH-753, and reopen this issue? > >> This would allow the removal of method lanczos and constant LANCZOS_G, > > > > For traceability, that could be a good idea to indicate in MATH-753 that you > > changed your mind, and decided to make those "private". ;-) > > > For the time being, I can't make these fields private, because they > are needed by other classes (GammaDistribution), which are not even in > the same package. So basically, once I've reimplemented Gamma, I need > to find another fix to MATH-753... Copy the fields where they are needed. As they are "private" here and there, they can be removed whenever they are not needed anymore. > > >> which would lay out the path to the new implementation. Alternatively, I > >> can deprecate these fields. > > > > Not necessary to go through this step since those fields appeared after the > > last release (IIRC). > > > Yes. My concern is that you want to release soon, and I'm not sure I > can clean this up before release. Fortunately, progress has been > smooth on the Gamma side those last days. So, instead of working on > MATH-738 (which all this is about), I will concentrate on replacing > the old impl of Gamma with the new one, and re-fixing MATH-753. > Hopefully this will all happen soon! With the above workaround, no need to hurry or focus on this particular issue. Duplicates could be removed in 3.2. Best, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org