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
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 indexvalue
- the real component, the imaginary is not changed.
setImag
void setImag(int i,
double value)
- Parameters:
i
- the element indexvalue
- the imaginary component, the real is not changed.
length
int length()
- Returns:
- the number of elements in the array