widely known free FFT library.

Dependents:   Peach_AudioChannelDividerAndCompensator

Committer:
dokunewon
Date:
Sun Oct 11 07:20:35 2015 +0000
Revision:
0:d7215946c769
First version.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dokunewon 0:d7215946c769 1 /*
dokunewon 0:d7215946c769 2 * This file is part of libfftpack.
dokunewon 0:d7215946c769 3 *
dokunewon 0:d7215946c769 4 * libfftpack is free software; you can redistribute it and/or modify
dokunewon 0:d7215946c769 5 * it under the terms of the GNU General Public License as published by
dokunewon 0:d7215946c769 6 * the Free Software Foundation; either version 2 of the License, or
dokunewon 0:d7215946c769 7 * (at your option) any later version.
dokunewon 0:d7215946c769 8 *
dokunewon 0:d7215946c769 9 * libfftpack is distributed in the hope that it will be useful,
dokunewon 0:d7215946c769 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
dokunewon 0:d7215946c769 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dokunewon 0:d7215946c769 12 * GNU General Public License for more details.
dokunewon 0:d7215946c769 13 *
dokunewon 0:d7215946c769 14 * You should have received a copy of the GNU General Public License
dokunewon 0:d7215946c769 15 * along with libfftpack; if not, write to the Free Software
dokunewon 0:d7215946c769 16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
dokunewon 0:d7215946c769 17 */
dokunewon 0:d7215946c769 18
dokunewon 0:d7215946c769 19 /*
dokunewon 0:d7215946c769 20 * libfftpack is being developed at the Max-Planck-Institut fuer Astrophysik
dokunewon 0:d7215946c769 21 * and financially supported by the Deutsches Zentrum fuer Luft- und Raumfahrt
dokunewon 0:d7215946c769 22 * (DLR).
dokunewon 0:d7215946c769 23 */
dokunewon 0:d7215946c769 24
dokunewon 0:d7215946c769 25 /*
dokunewon 0:d7215946c769 26 fftpack.h : function declarations for fftpack.c
dokunewon 0:d7215946c769 27 Algorithmically based on Fortran-77 FFTPACK by Paul N. Swarztrauber
dokunewon 0:d7215946c769 28 (Version 4, 1985).
dokunewon 0:d7215946c769 29
dokunewon 0:d7215946c769 30 Pekka Janhunen 23.2.1995
dokunewon 0:d7215946c769 31
dokunewon 0:d7215946c769 32 (reformatted by joerg arndt)
dokunewon 0:d7215946c769 33
dokunewon 0:d7215946c769 34 reformatted and slightly enhanced by Martin Reinecke (2004)
dokunewon 0:d7215946c769 35 */
dokunewon 0:d7215946c769 36
dokunewon 0:d7215946c769 37 #ifndef PLANCK_FFTPACK_H
dokunewon 0:d7215946c769 38 #define PLANCK_FFTPACK_H
dokunewon 0:d7215946c769 39
dokunewon 0:d7215946c769 40 #include "c_utils.h"
dokunewon 0:d7215946c769 41
dokunewon 0:d7215946c769 42 #ifdef __cplusplus
dokunewon 0:d7215946c769 43 extern "C" {
dokunewon 0:d7215946c769 44 #endif
dokunewon 0:d7215946c769 45
dokunewon 0:d7215946c769 46 /*! forward complex transform */
dokunewon 0:d7215946c769 47 void cfftf(size_t N, FLOAT complex_data[], FLOAT wrk[]);
dokunewon 0:d7215946c769 48 /*! backward complex transform */
dokunewon 0:d7215946c769 49 void cfftb(size_t N, FLOAT complex_data[], FLOAT wrk[]);
dokunewon 0:d7215946c769 50 /*! initializer for complex transforms */
dokunewon 0:d7215946c769 51 void cffti(size_t N, FLOAT wrk[]);
dokunewon 0:d7215946c769 52
dokunewon 0:d7215946c769 53 /*! forward real transform */
dokunewon 0:d7215946c769 54 void rfftf(size_t N, FLOAT data[], FLOAT wrk[]);
dokunewon 0:d7215946c769 55 /*! backward real transform */
dokunewon 0:d7215946c769 56 void rfftb(size_t N, FLOAT data[], FLOAT wrk[]);
dokunewon 0:d7215946c769 57 /*! initializer for real transforms */
dokunewon 0:d7215946c769 58 void rffti(size_t N, FLOAT wrk[]);
dokunewon 0:d7215946c769 59
dokunewon 0:d7215946c769 60 #ifdef __cplusplus
dokunewon 0:d7215946c769 61 }
dokunewon 0:d7215946c769 62 #endif
dokunewon 0:d7215946c769 63
dokunewon 0:d7215946c769 64 #endif