We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb5f773 commit 809e4f7Copy full SHA for 809e4f7
FFT.h
@@ -1,22 +1,18 @@
1
#ifndef FFT_H
2
#define FFT_H
3
-#include<iostream>
+#include "core.h"
4
#include<vector>
5
-#include<cmath>
6
#include<cstdlib>
7
#include<complex>
8
#include<algorithm>
9
#include<iterator>
10
#include<cstdint>
11
using std::complex;
12
using std::string;
13
-using std::vector;
+using namespace cor;
14
15
namespace fft{
16
17
-//-----常量部分-----
18
-template<class DC> const DC Pi = 3.1415926535897932;
19
-
20
//-----定义部分-----
21
22
//快速傅里叶变换
core.h
@@ -14,6 +14,7 @@ namespace cor{
//-----常量部分-----
const double Machine_Epsilon = pow(2, -52);
+template<class DC> const DC Pi = 3.1415926535897932;
//-----声明部分-----
0 commit comments