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