inPlaceFft method

void inPlaceFft(
  1. Float64x2List complexArray
)

In-place FFT.

Performs an in-place FFT on complexArray. The result is stored back in complexArray. No new arrays are allocated by this method.

This is the most efficient FFT method, if your data is already in the correct format. Otherwise, you can use realFft to handle the conversion for you.

ComplexArray also has some useful methods for managing Float64x2Lists of complex numbers.

Implementation

void inPlaceFft(Float64x2List complexArray) {
  if (complexArray.length != _size) {
    throw ArgumentError('Input data is the wrong length.', 'complexArray');
  }
  _inPlaceFftImpl(complexArray);
}