Interface for passing complex arrays to and from FFT routines. The intent is that the complex array can be backed by data in any format. Each elements is readable and writeable via get and set methods for the real and imaginary components.
returns the magnitudes of each element in an array
returns the magnitude of ah element in an array
Creates a new ComplexArray from an array of real numbers. The complex components of each element in the resulting array is zero.
Creates a new ComplexArray from a float array representing real numbers, but copies the original array so that it is not modified.
returns the real parts of each element in an array.
converts a ComplexArray into an array for debugging purposes.