Re: [MATH] Complex.getInterleaved()

2015-10-09 Thread Gilles
On Thu, 08 Oct 2015 14:48:50 -0400, Bruce Johnson wrote: On Oct 8, 2015, at 12:45 PM, Eric Barnhill wrote: Dear commons-math.complex maintainers, I would like to add a static method to the Complex class that would work as follows: double[] d =

[MATH] Complex.getInterleaved()

2015-10-08 Thread Eric Barnhill
Dear commons-math.complex maintainers, I would like to add a static method to the Complex class that would work as follows: double[] d = Complex.getInterleaved(Complex[] c); It would export the data from a Complex[] as a double[] twice the size of the Complex[] array with real and imaginary

Re: [MATH] Complex.getInterleaved()

2015-10-08 Thread Bruce Johnson
> On Oct 8, 2015, at 12:45 PM, Eric Barnhill wrote: > > Dear commons-math.complex maintainers, > > I would like to add a static method to the Complex class that would work as > follows: > > double[] d = Complex.getInterleaved(Complex[] c); > > It would export the data