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 6475C9B6B for ; Mon, 13 Feb 2012 16:41:23 +0000 (UTC) Received: (qmail 51089 invoked by uid 500); 13 Feb 2012 16:41:23 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 51018 invoked by uid 500); 13 Feb 2012 16:41:22 -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 51010 invoked by uid 99); 13 Feb 2012 16:41:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 16:41:22 +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, 13 Feb 2012 16:41:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 72CBF1B43DA for ; Mon, 13 Feb 2012 16:40:59 +0000 (UTC) Date: Mon, 13 Feb 2012 16:40:59 +0000 (UTC) From: =?utf-8?Q?S=C3=A9bastien_Brisard_=28Commented=29_=28JIRA=29?= To: issues@commons.apache.org Message-ID: <561822803.32104.1329151259471.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <538019582.23318.1328854439667.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MATH-743) Use enums in 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-743?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D132069= 73#comment-13206973 ]=20 S=C3=A9bastien Brisard commented on MATH-743: ---------------------------------------- In {{r1243595}}, introduced {{DstNormalization}} to specify the normalizati= on of discrete sine transforms (standard, orthogonal). =20 > Use enums in package transform > ------------------------------ > > Key: MATH-743 > URL: https://issues.apache.org/jira/browse/MATH-743 > Project: Commons Math > Issue Type: Improvement > Affects Versions: 3.0 > Reporter: S=C3=A9bastien Brisard > Assignee: S=C3=A9bastien Brisard > Labels: api-change, enum, transform > > As discussed on the mailing-list, enums could be used in the package {{tr= ansform}} > # An enumeration {{FORWARD, INVERSE}} will be created to specify whether = the inverse transform is to be computed. This will replace the pair {{trans= form}}/{{inverseTransform}} > # An enumeration {{STANDARD, ORTHOGONAL}} will be introduced (where relev= ant) in each transform class, in order to specify the normalization that sh= ould be used. Then the factory methods {{create()}}/{{createOrthogonal()}} = will be replaced by a parameter passed to the constructor, which will be ma= de public. -- 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