|
Isis 3.0 Developer's Reference (API) |
Home |
00001 #ifndef FourierTransform_h 00002 #define FourierTransform_h 00003 00025 #include <complex> 00026 #include <vector> 00027 #include "Constants.h" 00028 00029 namespace Isis { 00048 class FourierTransform { 00049 public: 00050 FourierTransform(); 00051 ~FourierTransform(); 00052 std::vector< std::complex<double> > Transform(std::vector< std::complex<double> > input); 00053 std::vector< std::complex<double> > Inverse(std::vector< std::complex<double> > input); 00054 bool IsPowerOfTwo(int n); 00055 int lg(int n); 00056 int BitReverse(int n, int x); 00057 int NextPowerOfTwo(int n); 00058 }; 00059 } 00060 00061 #endif