Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 48619 invoked from network); 23 Jan 2008 00:23:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2008 00:23:06 -0000 Received: (qmail 78790 invoked by uid 500); 23 Jan 2008 00:22:56 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 78719 invoked by uid 500); 23 Jan 2008 00:22:55 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 78710 invoked by uid 99); 23 Jan 2008 00:22:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2008 16:22:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 00:22:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B63D171425F for ; Tue, 22 Jan 2008 16:22:34 -0800 (PST) Message-ID: <9183272.1201047754743.JavaMail.jira@brutus> Date: Tue, 22 Jan 2008 16:22:34 -0800 (PST) From: "Paul Cowan (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (MATH-178) Implement Zipf distribution In-Reply-To: <15463433.1200873874997.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561530#action_12561530 ] Paul Cowan commented on MATH-178: --------------------------------- Further to this: there's an interesting definition at http://functions.wolfram.com/GammaBetaErf/HarmonicNumber2/03/01/01/0008/ which is based on polygamma (there's an implementation of THAT in Gnu GSL? Not sure if that's useful?) but that in turn requires calculating the factorial of the exponent (which is in turn slow, though easily cacheable) and also requires restricting the exponent to a natural number, which is fine for us but may make the ZipfDistribution less useful for others. > Implement Zipf distribution > --------------------------- > > Key: MATH-178 > URL: https://issues.apache.org/jira/browse/MATH-178 > Project: Commons Math > Issue Type: New Feature > Reporter: Paul Cowan > Priority: Minor > Attachments: ZipfDistribution.patch, ZipfDistribution2.patch > > > Per my post to commons-dev -- http://mail-archives.apache.org/mod_mbox/commons-dev/200801.mbox/%3c478EDFEB.3010902@funkwit.com%3e -- I'd like to propose adding a Zipf distribution to commons-math. > I have a patch, but it's incomplete and somewhat inefficient; I'd like to throw it up for discussion though. To follow. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.