diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2010-09-25 00:13:01 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2010-09-25 00:13:01 -0400 |
commit | c0a705de6f28b878ea5ab47f1c17aa51c88840e6 (patch) | |
tree | 8d1d3d06ced1946ac692540b2aadefbaddbc1282 /fft.h | |
parent | 897f5fbac08776364dc93cd350e0cd6d915960f7 (diff) |
Add a shift function
Diffstat (limited to 'fft.h')
-rw-r--r-- | fft.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -67,3 +67,7 @@ fft (complex_t *buffer, int n); void ifft (complex_t *buffer, int n); + +/* Shifts the zero component to the center of the array */ +void +shift (complex_t *buffer, int n); |