ifft method

Computes the complex inverse FFT into the reusable real/imag buffers.

Example:

final x = plan.ifft(specRe, specIm);

Implementation

Complex32List ifft(Float32List inRe, Float32List inIm) {
  final r = res;
  _loadInput(inRe, inIm);
  yl_fft_plan_execute_c2c_backward(
    r.plan,
    r.inReal,
    r.inImag,
    r.outReal,
    r.outImag,
  );

  real.setAll(0, r.outReal.asTypedList(n));
  imag.setAll(0, r.outImag.asTypedList(n));

  return Complex32List.wrap(real, imag);
}