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

Eric Barnhill commented on MATH-1290:
-------------------------------------

>From what I found I only need to include \[  and \] to invoke LaTeX. Is that 
>right?

That polar 2 complex method was previously there. Looking at its JavaDoc, I 
think it's better to take out the equation anyway. If the user doesn't know the 
formula for the polar representation of a Complex, that routine probably won't 
be of any use anyway. But, I can put it back as LaTeX if anyone prefers.

Otherwise I think I followed your style suggestions, also made it more 
consistent with periods and capitals.

I left the argument type in the @return tags. If you prefer, I'll just get rid 
of it in a few minutes...

> Additions to Complex Utils; creation of conversion methods between Complex[], 
> double[], float[], and interleaved arrays
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MATH-1290
>                 URL: https://issues.apache.org/jira/browse/MATH-1290
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.5
>            Reporter: Eric Barnhill
>            Priority: Minor
>              Labels: newbie, patch
>             Fix For: 4.0
>
>         Attachments: ComplexUtils.java, ComplexUtils.java, 
> ComplexUtilsTest.java, ComplexUtilsTest.java, ComplexUtilsTest.java, 
> LaguerreSolver.java
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I propose to add several new methods to the ComplexUtils class enabling easy 
> conversion between Complex[] arrays, real or imaginary double[] or float[] 
> arrays, and interleaved complex double[] or float[] arrays. The last two in 
> particular are beneficial to have for OpenCL implementations and the 
> JTransforms library.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to