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 56B439711 for ; Wed, 9 May 2012 11:03:48 +0000 (UTC) Received: (qmail 43884 invoked by uid 500); 9 May 2012 11:03:47 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 43711 invoked by uid 500); 9 May 2012 11:03:47 -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 43688 invoked by uid 99); 9 May 2012 11:03:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 11:03:46 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of SRS0=Vpzx=DN=m4x.org=sebastien.brisard@bounces.m4x.org designates 129.104.30.34 as permitted sender) Received: from [129.104.30.34] (HELO mx1.polytechnique.org) (129.104.30.34) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 11:03:39 +0000 Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 7BBAF14077885 for ; Wed, 9 May 2012 13:03:18 +0200 (CEST) Received: by obfk16 with SMTP id k16so233664obf.30 for ; Wed, 09 May 2012 04:03:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.207.10 with SMTP id ls10mr32115315obc.9.1336561397346; Wed, 09 May 2012 04:03:17 -0700 (PDT) Received: by 10.60.132.148 with HTTP; Wed, 9 May 2012 04:03:17 -0700 (PDT) In-Reply-To: <20120509104011.GG32074@dusk.harfang.homelinux.org> References: <4FA97A2F.8070104@gmail.com> <20120508210925.GJ10938@dusk.harfang.homelinux.org> <20120509104011.GG32074@dusk.harfang.homelinux.org> Date: Wed, 9 May 2012 13:03:17 +0200 Message-ID: Subject: Re: [math] Exposing the Lanczos approximation in o.a.c.m3.special.Gamma? From: =?ISO-8859-1?Q?S=E9bastien_Brisard?= To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Wed May 9 13:03:18 2012 +0200 (CEST)) X-Org-Mail: sebastien.brisard.1997@polytechnique.org X-Old-Spam-Flag: No, tests=bogofilter, spamicity=0.000180, queueID=C5616140778AE 2012/5/9 Gilles Sadowski : >> >> the patch for the proposed modification has been attached to the >> >> MATH-753 ticket. Thanks for your comments! >> >> >> > >> > What I have seen in the patch, you remove duplicated code by using the >> > already existing lanczos function, and create an additional function for >> > the constant. >> > >> In fact, I've realized that I have accidentally committed the >> lanczos() function in r1334315, which has nothing to do with this >> matter (that revision was about MATH-784). In fact, double >> lanczos(double) is indeed new. >> I will try to revert the change in Gamma in r1334315, and commit it in >> a new revision, once we all agree that double lanczos(double) can be >> exposed. >> >> So the question is: do you like this function lanczos (and its >> Javadoc) or not. Do you agree with this method being public? > > "public" is preferrable to duplicate code (if that's the question...). > I guess it is the question... Code duplication vs. exposing a little bit of the internals of Gamma. I will commit the patch. > > Gilles > >> [...] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org