File indexing completed on 2025-02-21 10:03:47
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef __GSL_FFT_REAL_FLOAT_H__
0021 #define __GSL_FFT_REAL_FLOAT_H__
0022
0023 #include <stddef.h>
0024
0025 #include <gsl/gsl_math.h>
0026 #include <gsl/gsl_complex.h>
0027 #include <gsl/gsl_fft.h>
0028
0029 #undef __BEGIN_DECLS
0030 #undef __END_DECLS
0031 #ifdef __cplusplus
0032 # define __BEGIN_DECLS extern "C" {
0033 # define __END_DECLS }
0034 #else
0035 # define __BEGIN_DECLS
0036 # define __END_DECLS
0037 #endif
0038
0039 __BEGIN_DECLS
0040
0041 int gsl_fft_real_float_radix2_transform (float data[], const size_t stride, const size_t n) ;
0042
0043 typedef struct
0044 {
0045 size_t n;
0046 size_t nf;
0047 size_t factor[64];
0048 gsl_complex_float *twiddle[64];
0049 gsl_complex_float *trig;
0050 }
0051 gsl_fft_real_wavetable_float;
0052
0053 typedef struct
0054 {
0055 size_t n;
0056 float *scratch;
0057 }
0058 gsl_fft_real_workspace_float;
0059
0060 gsl_fft_real_wavetable_float * gsl_fft_real_wavetable_float_alloc (size_t n);
0061
0062 void gsl_fft_real_wavetable_float_free (gsl_fft_real_wavetable_float * wavetable);
0063
0064 gsl_fft_real_workspace_float * gsl_fft_real_workspace_float_alloc (size_t n);
0065
0066 void gsl_fft_real_workspace_float_free (gsl_fft_real_workspace_float * workspace);
0067
0068 int gsl_fft_real_float_transform (float data[], const size_t stride, const size_t n,
0069 const gsl_fft_real_wavetable_float * wavetable,
0070 gsl_fft_real_workspace_float * work);
0071
0072
0073 int gsl_fft_real_float_unpack (const float real_float_coefficient[],
0074 float complex_coefficient[],
0075 const size_t stride, const size_t n);
0076
0077 __END_DECLS
0078
0079 #endif