public static final class ComplexArray.ComplexArrayFloatFloat extends java.lang.Object implements ComplexArray.Float
Modifier and Type | Method and Description |
---|---|
float |
getImag(int i) |
float |
getReal(int i) |
int |
length()
returns the number of elements
|
void |
setImag(int i,
float value) |
void |
setReal(int i,
float value) |
public float getImag(int i)
getImag
in interface ComplexArray.Float
public float getReal(int i)
getReal
in interface ComplexArray.Float
public void setImag(int i, float value)
setImag
in interface ComplexArray.Float
i
- the element indexvalue
- the imaginary component, the real is not changed.public void setReal(int i, float value)
setReal
in interface ComplexArray.Float
i
- the element indexvalue
- the real component, the imaginary is not changed.public int length()
ComplexArray.Float
length
in interface ComplexArray.Float