diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2021-08-26 08:09:19 +0100 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2021-08-26 08:09:19 +0100 |
commit | 12abfa14f5a3b328ddb78620486b40d46fe213ec (patch) | |
tree | 77cd7bd982c12b34f4cc0513f466088d3b9a4ed2 /NaiveFFT/fft.h | |
parent | f29bfb55fae083189e060a08f6e266a56d52fc6a (diff) | |
download | NaiveFFT-12abfa14f5a3b328ddb78620486b40d46fe213ec.tar.gz NaiveFFT-12abfa14f5a3b328ddb78620486b40d46fe213ec.zip |
Reaarange source
Diffstat (limited to 'NaiveFFT/fft.h')
-rw-r--r-- | NaiveFFT/fft.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/NaiveFFT/fft.h b/NaiveFFT/fft.h new file mode 100644 index 0000000..f1ee783 --- /dev/null +++ b/NaiveFFT/fft.h @@ -0,0 +1,20 @@ +// +// fft.h +// NaiveFFT +// +// Created by Jacky Jack on 26/08/2021. +// + +#ifndef fft_h +#define fft_h + +#include <stdlib.h> +#include <stdio.h> +#include <math.h> + +void fft_if(double *x_i, double *x_q, int n, int inv); +void ffti_shuffle_1(double *x_i, double *x_q, uint64_t n); +void fft_1(double *x_i, double *x_q, uint64_t n, uint64_t inv); +void dft(double *x_i, double *x_q, int n, int inv); + +#endif /* fft_h */ |