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

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

Tried to compile; 39 errors divided in two categories.  Here is an instance of 
each:
{noformat}
[ERROR] 
/home/gilles/devel/java/apache/commons-math/trunk/src/main/java/org/apache/commons/math4/complex/ComplexUtils.java:[349,56]
 cannot find symbol
  symbol:   method size(java.lang.Iterable<java.lang.Integer>)
  location: class org.apache.commons.math4.util.IntegerSequence

[ERROR] 
/home/gilles/devel/java/apache/commons-math/trunk/src/main/java/org/apache/commons/math4/analysis/solvers/LaguerreSolver.java:[196,51]
 cannot find symbol
  symbol:   method convertToComplex(double[])
  location: class org.apache.commons.math4.complex.ComplexUtils
{noformat}

Did you use the "develop" branch to base your code on?


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