Template Function ADS::fft(E&, std::vector<Complex>&, bool)

Function Documentation

template<Executor E>
void ADS::fft(E &ex, std::vector<Complex> &a, bool inverse)

the discrete Fourier transform of a in place on the threads of ex; the inverse one, divided by n, if inverse

Pre:

the size of a is a power of 2 (or 0)