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

Phil Steitz commented on MATH-171:
----------------------------------

Thanks, Niall!  

I am +1 for committing this, assuming others agree that it improves improves 
usability.   I don't see compatibility problems unless I am missing something. 

> Merge (most of) ComplexUtils into Complex
> -----------------------------------------
>
>                 Key: MATH-171
>                 URL: https://issues.apache.org/jira/browse/MATH-171
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Niall Pemberton
>            Priority: Minor
>         Attachments: commons-math-complex-func-v2.patch, 
> commons-math-complex-func.patch
>
>
> All but two of the functions in ComplexUtils operate on a single Complex 
> instance. I think it would make coding easier (esp. with an IDE) if the 
> ComplexUtils functions were merged into Complex. For example, using the cos 
> function changes from:
>     Complex cosA = ComplexUtils.cos(a);
> to
>     Complex cosA = a.cos();

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to