header

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
/*
* fourier.h
* FourierTransform
*
* Created by RJ Linton on 4/28/09.
* Copyright 2009 RJ Linton. All rights reserved.
*
*/
#include <complex>
#include <math.h>
using namespace std;
const double PI = 4.0*atan(1.0);
complex<double> DFT(double functValue[], int compNum, int size);