org.das2.math.fft.ComplexArray.Float

A complex array that is accessed by floats


getImag

getImag( int i ) → float

Parameters

i - an int

Returns:

the imaginary component of the complex element i.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getReal

getReal( int i ) → float

Parameters

i - an int

Returns:

the real component of the complex element i.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


length

length( ) → int

returns the number of elements

Returns:

the number of elements in the array

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setImag

setImag( int i, float value ) → void

Parameters

i - the element index
value - the imaginary component, the real is not changed.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setReal

setReal( int i, float value ) → void

Parameters

i - the element index
value - the real component, the imaginary is not changed.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]