Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FB669831 for ; Mon, 23 Jan 2012 11:07:03 +0000 (UTC) Received: (qmail 94728 invoked by uid 500); 23 Jan 2012 11:07:02 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 94423 invoked by uid 500); 23 Jan 2012 11:07:02 -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 94405 invoked by uid 99); 23 Jan 2012 11:07:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 11:07:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 11:07:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C601E15D79D for ; Mon, 23 Jan 2012 11:06:40 +0000 (UTC) Date: Mon, 23 Jan 2012 11:06:40 +0000 (UTC) From: "Gilles (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <622908504.66333.1327316800812.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <21096560.336091294895205879.JavaMail.jira@thor> Subject: [jira] [Commented] (MATH-474) Frequency: new method: merge(Frequency) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191113#comment-13191113 ] Gilles commented on MATH-474: ----------------------------- Hello Dan. Really sorry for the (long!) delay in examining your contribution. I've noticed that the patch does not provide unit tests; could you please add some? Thanks. > Frequency: new method: merge(Frequency) > --------------------------------------- > > Key: MATH-474 > URL: https://issues.apache.org/jira/browse/MATH-474 > Project: Commons Math > Issue Type: Improvement > Reporter: Dan Checkoway > Fix For: 3.0 > > Attachments: MATH-474.patch > > > I'd like to propose an enhancement to org.apache.commons.math.stat.Frequency. I need to "merge" multiple Frequency objects, and it would be great if Frequency had inherent support for this, such as: > public void merge(Frequency other); > public void merge(Collection others); > I'd be happy to submit a patch if that would help... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira