org.das2.math.fft
Interface ComplexArray.Double

All Known Implementing Classes:
ComplexArray.ComplexArrayDoubleDouble
Enclosing class:
ComplexArray

public static interface ComplexArray.Double

ComplexArray that is accessed by doubles


Method Summary
 double getImag(int i)
           
 double getReal(int i)
           
 int length()
           
 void setImag(int i, double value)
           
 void setReal(int i, double value)
           
 

Method Detail

getReal

double getReal(int i)
Parameters:
i -
Returns:
the real component of the complex element i.

getImag

double getImag(int i)
Parameters:
i -
Returns:
the imaginary component of the complex element i.

setReal

void setReal(int i,
             double value)
Parameters:
i - the element index
value - the real component, the imaginary is not changed.

setImag

void setImag(int i,
             double value)
Parameters:
i - the element index
value - the imaginary component, the real is not changed.

length

int length()
Returns:
the number of elements in the array