Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 30425 invoked from network); 27 Dec 2010 10:27:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Dec 2010 10:27:19 -0000 Received: (qmail 58228 invoked by uid 500); 27 Dec 2010 10:27:19 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 57991 invoked by uid 500); 27 Dec 2010 10:27:18 -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 57983 invoked by uid 99); 27 Dec 2010 10:27:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Dec 2010 10:27:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.43] (HELO mail-qw0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Dec 2010 10:27:10 +0000 Received: by qwk3 with SMTP id 3so8043254qwk.30 for ; Mon, 27 Dec 2010 02:26:49 -0800 (PST) Received: by 10.224.140.147 with SMTP id i19mr11352981qau.395.1293445608581; Mon, 27 Dec 2010 02:26:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.202.12 with HTTP; Mon, 27 Dec 2010 02:26:28 -0800 (PST) In-Reply-To: <2051877.27591293445426440.JavaMail.jira@thor> References: <2051877.27591293445426440.JavaMail.jira@thor> From: Mikkel Meyer Andersen Date: Mon, 27 Dec 2010 11:26:28 +0100 Message-ID: Subject: Re: [jira] Updated: (MATH-384) DescriptiveStatistics based on double[] To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, Now MATH384 should soon be ready to be closed, too. I will commit in 2.2 and trunk when somebody (Phil?) has had the time to review the patch proposals. Cheers, Mikkel. 2010/12/27 Mikkel Meyer Andersen (JIRA) : > > =A0 =A0 [ https://issues.apache.org/jira/browse/MATH-384?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] > > Mikkel Meyer Andersen updated MATH-384: > --------------------------------------- > > =A0 =A0Attachment: MATH384-3_0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0MATH384-2_2 > > Proposed patches with comments taken into account. The difference for 2.2= and 3.0 is that in 3.0 the DoubleArray interface has been extended to incl= ude addElements(double[]) > >> DescriptiveStatistics based on double[] >> --------------------------------------- >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Key: MATH-384 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 URL: https://issues.apache.org/jira/brow= se/MATH-384 >> =A0 =A0 =A0 =A0 =A0 =A0 Project: Commons Math >> =A0 =A0 =A0 =A0 =A0Issue Type: New Feature >> =A0 =A0 =A0 =A0 =A0 =A0Reporter: Mikkel Meyer Andersen >> =A0 =A0 =A0 =A0 =A0 =A0Assignee: Mikkel Meyer Andersen >> =A0 =A0 =A0 =A0 =A0 =A0Priority: Minor >> =A0 =A0 =A0 =A0 =A0 =A0 Fix For: 2.2 >> >> =A0 =A0 =A0 =A0 Attachments: MATH384-2_2, MATH384-3_0, patch-MATH-384-2,= ResizableArrayInstantiatedByArray >> >> =A0 Original Estimate: 2h >> =A0Remaining Estimate: 2h >> >> Right now the DescriptiveStatistics is for ResizableDoubleArray, but if = the user has the double[] data she wishes to get DescriptiveStatistics for = there is no way of doing this (besides the inefficient way of creating a Re= sizableDoubleArray from the double[]). >> It would be possible to use StatUtils, but it does not contain near as m= uch functionality as DescriptiveStatistics. >> Idea: Create a DescriptiveStatistics for double[] also. I'm not sure whi= ch way of implementing it would be the best, but one way would be to make D= escriptiveStatistics abstract with all but the apply-method implemented as = now. The apply-method should be made as abstract which then has to implemen= ted in the extensions together with a field containing the values. (addValu= e, windowSize etc. has to go in the ResizableDoubleArray-extension.) The do= uble[]-extension should then have a constructor taking double[] as a parame= ter. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org