projects
/
my-code
/
api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finished 1d-dft
[my-code/api.git]
/
fourier
/
fourier.h
diff --git
a/fourier/fourier.h
b/fourier/fourier.h
index
f3cab6b
..
39aee41
100644
(file)
--- a/
fourier/fourier.h
+++ b/
fourier/fourier.h
@@
-4,7
+4,10
@@
#define FOURIER_H
/* includes */
#define FOURIER_H
/* includes */
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
/* defines */
#define F_SUCCESS 1
/* defines */
#define F_SUCCESS 1
@@
-36,6
+39,8
@@
typedef struct s_fourier {
/* function prototypes */
int fourier_init(t_fourier *fourier,int outfd);
int fourier_dft_1d(t_fourier *fourier);
/* function prototypes */
int fourier_init(t_fourier *fourier,int outfd);
int fourier_dft_1d(t_fourier *fourier);
+int fourier_dft_2d(t_fourier *fourier);
+int fourier_dft_3d(t_fourier *fourier);
int fourier_calc(t_fourier *fourier);
#endif
int fourier_calc(t_fourier *fourier);
#endif