org.das2.math.fft.ComplexArray.Double

ComplexArray that is accessed by doubles


getImag

getImag( int i ) → double

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 ) → double

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 in the array

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


setImag

setImag( int i, double 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, double 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]