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 8F5D5BA7D for ; Wed, 18 Jan 2012 07:19:11 +0000 (UTC) Received: (qmail 5507 invoked by uid 500); 18 Jan 2012 07:19:11 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 5126 invoked by uid 500); 18 Jan 2012 07:19:08 -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 5101 invoked by uid 99); 18 Jan 2012 07:19:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2012 07:19:06 +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; Wed, 18 Jan 2012 07:19:04 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6D775153FC4 for ; Wed, 18 Jan 2012 07:18:43 +0000 (UTC) Date: Wed, 18 Jan 2012 07:18:43 +0000 (UTC) From: =?utf-8?Q?S=C3=A9bastien_Brisard_=28Commented=29_=28JIRA=29?= To: issues@commons.apache.org Message-ID: <455802897.51890.1326871123449.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <151010639.7269.1317297525712.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MATH-677) About package "transform" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-677?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D131883= 15#comment-13188315 ]=20 S=C3=A9bastien Brisard commented on MATH-677: ---------------------------------------- Improved testing of {{FastFourierTransformer}} in {{r1232767}}. =20 > About package "transform" > ------------------------- > > Key: MATH-677 > URL: https://issues.apache.org/jira/browse/MATH-677 > Project: Commons Math > Issue Type: Improvement > Reporter: Gilles > Assignee: S=C3=A9bastien Brisard > Priority: Minor > Labels: api-change > Fix For: 3.0 > > > Classes in package "o.a.c.m.transform" might require some changes in orde= r to conform to goals set for the next major release. > Some observations: > # Exceptions > ## Should remove use of deprecated "MathRuntimeException" > ## Should throw more specific "Math...Exception" instances instead of sta= ndard IAE > # Interface "RealTransformer" (and implementations) contain non-conforman= t method names (e.g. "inversetransform" instead of "inverseTransform"). {co= lor:red}Fixed in {{r1208293}}.{color} > # "FastFourierTransformer": > ## Methods "mdfft" and "verifyDataSet" take an argument of type "Object" = (to allow an argument with an unspecified number of dimensions) > ## The "RootsOfUnity" helper class could be moved to the "complex" packag= e > ## For clarity, multidimensional transform should be moved to a class of = its own (and I also wonder whether the "MultiDimensionalComplexMatrix" name= is not misleading) > # "FastFourierTransformer", "FastSineTranformer" and "FastCosineTranforme= r" define public methods "tranform2" and "inversetransform2" but they are n= ot part of an interface. {color:red}As of {{r1213157}}, these methods have = been removed, and replaced by factory methods {{create()}} and {{createUnit= ary()}} (FFT) or {{createOrthogonal()}} (FCT, FST).{color} > # Code uses variables that start with an uppercase. {color:red}Fixed, tog= ether with various formatting issues.{color} > # "FastHadamardTransformer" contains illegible developer documentation (s= ee Javadoc for protected method "fht"). {color:red}Tried to improve things = in {{r1208986}}, but things are still a bit obscure. Besides, the link prov= ided is broken. Will look into that.{color} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira