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

Gilles commented on MATH-1290:
------------------------------

I ran
{noformat}
git checkout feature-MATH-1290
git checkout -b barnhill
git pull https://github.com/ericbarnhill/commons-math.git master
{noformat}

It creates conflicts:
{noformat}
On branch barnhill
You have unmerged paths.
  (fix conflicts and run "git commit")

Changes to be committed:

        modified:   
src/main/java/org/apache/commons/math4/analysis/solvers/LaguerreSolver.java
        modified:   src/test/java/org/apache/commons/math4/TestUtils.java

Unmerged paths:
  (use "git add <file>..." to mark resolution)

        both modified:   
src/main/java/org/apache/commons/math4/complex/ComplexUtils.java
        both modified:   
src/test/java/org/apache/commons/math4/complex/ComplexUtilsTest.java
{noformat}

Your latest changes should be in your local copy of branch "feature-MATH-1290", 
since I created that branch specifically for this issue.
CM's "master" must not be modified (as per our new convention).

> 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, ComplexUtils.java, 
> ComplexUtils.java, ComplexUtilsTest.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