Template Function ADS::rfft(const T *, std::size_t, std::complex<T> *)

Function Documentation

template<class T>
inline void ADS::rfft(const T *x, std::size_t n, std::complex<T> *X)

the transform of the n real numbers x, its n / 2 + 1 outputs X_k , k <= n / 2 (the others are conj( X_{n-k} )); X may be where x is, if it has room for n + 2 numbers