aboutsummaryrefslogtreecommitdiff
path: root/src/fftsg.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@jamiebullock.com>2013-01-07 16:27:15 +0000
committerJamie Bullock <jamie@jamiebullock.com>2013-01-07 16:39:29 +0000
commit144e7f8668166ee1779ad304cc5ac94d8e525529 (patch)
tree089b2bbbcf15ee8bdde390a4d270e4812e7e2228 /src/fftsg.h
parent0f46938156dedf13032bdb1fc914a63d46bae558 (diff)
downloadLibXtract-144e7f8668166ee1779ad304cc5ac94d8e525529.tar.gz
LibXtract-144e7f8668166ee1779ad304cc5ac94d8e525529.tar.bz2
LibXtract-144e7f8668166ee1779ad304cc5ac94d8e525529.zip
added Ooura implementation to repository
Diffstat (limited to 'src/fftsg.h')
-rw-r--r--src/fftsg.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/fftsg.h b/src/fftsg.h
new file mode 100644
index 0000000..eb7fc8a
--- /dev/null
+++ b/src/fftsg.h
@@ -0,0 +1,21 @@
+/* FFT functions */
+void cdft(int n, int isgn, double *a, int *ip, double *w);
+void rdft(int n, int isgn, double *a, int *ip, double *w);
+void ddct(int n, int isgn, double *a, int *ip, double *w);
+void ddst(int n, int isgn, double *a, int *ip, double *w);
+void dfct(int n, double *a, double *t, int *ip, double *w);
+void dfst(int n, double *a, double *t, int *ip, double *w);
+
+/* Auxiliary functions */
+void makewt(int nw, int *ip, double *w);
+void bitrv2(int n, int *ip, double *a);
+void bitrv2conj(int n, int *ip, double *a);
+void cftfsub(int n, double *a, double *w);
+void cftbsub(int n, double *a, double *w);
+void makect(int nc, int *ip, double *c);
+void rftfsub(int n, double *a, int nc, double *c);
+void rftbsub(int n, double *a, int nc, double *c);
+void dctsub(int n, double *a, int nc, double *c);
+void dstsub(int n, double *a, int nc, double *c);
+void cft1st(int n, double *a, double *w);
+void cftmdl(int n, int l, double *a, double *w);