for LPC1114FN28 (Cortex-M0)

Fork of UIT_FFT_Real by 不韋 呂

Revision:
1:ba9ce95ec9a4
Parent:
0:982a9acf3a07
--- a/fftReal.hpp	Fri Dec 19 12:10:34 2014 +0000
+++ b/fftReal.hpp	Thu Oct 15 15:37:24 2015 +0000
@@ -3,6 +3,7 @@
 //      This class can execute FFT and IFFT 
 // Copyright (c) 2014 MIKAMI, Naoki,  2014/12/19
 //-------------------------------------------------------------------
+// for LPPC1114FN28(Cortex-M0) modified by Takehisa Oneta(ohneta) 4th Aug.2015
 
 #ifndef FFT_REAL_HPP
 #define FFT_REAL_HPP
@@ -10,13 +11,12 @@
 #include "mbed.h"
 #include <complex>  // requisite for complex
 
-namespace Mikami
-{
-    typedef complex<float> Complex; // define "Complex"
+
+typedef complex<float> Complex; // define "Complex"
 
-    class FftReal
-    {
-    private:
+class FftReal
+{
+private:
         const int   N_FFT_;
         const float N_INV_;
         
@@ -32,7 +32,7 @@
         FftReal(const FftReal& );
         FftReal& operator=(const FftReal& );
 
-    public:
+public:
         // Constructor
         explicit FftReal(int16_t n);
         // Destructor
@@ -40,7 +40,7 @@
         // Execute FFT
         void Execute(const float x[], Complex y[]);
         // Execute IFFT
-        void ExecuteIfft(const Complex y[], float x[]);
-    };
-}
+        //void ExecuteIfft(const Complex y[], float x[]);
+};
+
 #endif  // FFT_REAL_HPP