fftpack.h

00001 /*
00002  *  This file is part of libfftpack.
00003  *
00004  *  libfftpack is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  libfftpack is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with libfftpack; if not, write to the Free Software
00016  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00017  */
00018 
00019 /*
00020  *  libfftpack is being developed at the Max-Planck-Institut fuer Astrophysik
00021  *  and financially supported by the Deutsches Zentrum fuer Luft- und Raumfahrt
00022  *  (DLR).
00023  */
00024 
00025 /*
00026   fftpack.h : function declarations for fftpack.c
00027   Algorithmically based on Fortran-77 FFTPACK by Paul N. Swarztrauber
00028   (Version 4, 1985).
00029 
00030   Pekka Janhunen 23.2.1995
00031 
00032   (reformatted by joerg arndt)
00033 
00034   reformatted and slightly enhanced by Martin Reinecke (2004)
00035  */
00036 
00037 #ifndef PLANCK_FFTPACK_H
00038 #define PLANCK_FFTPACK_H
00039 
00040 #include "c_utils.h"
00041 
00042 #ifdef __cplusplus
00043 extern "C" {
00044 #endif
00045 
00046 /*! forward complex transform */
00047 void cfftf(size_t N, double complex_data[], double wrk[]);
00048 /*! backward complex transform */
00049 void cfftb(size_t N, double complex_data[], double wrk[]);
00050 /*! initializer for complex transforms */
00051 void cffti(size_t N, double wrk[]);
00052 
00053 /*! forward real transform */
00054 void rfftf(size_t N, double data[], double wrk[]);
00055 /*! backward real transform */
00056 void rfftb(size_t N, double data[], double wrk[]);
00057 /*! initializer for real transforms */
00058 void rffti(size_t N, double wrk[]);
00059 
00060 #ifdef __cplusplus
00061 }
00062 #endif
00063 
00064 #endif

Generated on Thu Oct 8 14:48:49 2015 for LevelS FFT library