commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Brisard (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MATH-743) Use enums in package transform
Date Sat, 11 Feb 2012 17:41:07 GMT

    [ https://issues.apache.org/jira/browse/MATH-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206197#comment-13206197
] 

Sébastien Brisard commented on MATH-743:
----------------------------------------

In {{r1243110}}, introduced {{TransformType}} in {{RealTransformer}}.
                
> 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ébastien Brisard
>            Assignee: Sébastien Brisard
>              Labels: api-change, enum, transform
>
> As discussed on the mailing-list, enums could be used in the package {{transform}}
> # An enumeration {{FORWARD, INVERSE}} will be created to specify whether the inverse
transform is to be computed. This will replace the pair {{transform}}/{{inverseTransform}}
> # An enumeration {{STANDARD, ORTHOGONAL}} will be introduced (where relevant) in each
transform class, in order to specify the normalization that should be used. Then the factory
methods {{create()}}/{{createOrthogonal()}} will be replaced by a parameter passed to the
constructor, which will be made public.

--
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

       

Mime
View raw message