File indexing completed on 2024-06-30 05:44:12

0001 /*
0002  * Copyright (c) 2016 Daniel Holanda Noronha. All rights reserved.
0003  *
0004  * This work is licensed under the terms of the MIT license.
0005  * For a copy, see <https://opensource.org/licenses/MIT>.
0006  *
0007  */
0008 
0009 #ifndef FFT_H
0010 #define FFT_H
0011 
0012 #include <complex>
0013 #include <iostream>
0014 #include <valarray>
0015 
0016 const double PI = 3.141592653589793238460;
0017 
0018 typedef std::complex<double> Complex;
0019 typedef std::valarray<Complex> CArray;
0020 
0021 void fft(CArray& x);
0022 
0023 #endif