1 %module
"Math::GSL::FFT"
3 %include
"gsl_typemaps.i"
5 %typemap
(argout
) double
[] %{
10 #include
"gsl/gsl_fft.h"
11 #include
"gsl/gsl_fft_complex.h"
12 #include
"gsl/gsl_fft_halfcomplex.h"
13 #include
"gsl/gsl_fft_real.h"
14 #include
"gsl/gsl_complex.h"
17 %include
"gsl/gsl_complex.h"
18 %include
"gsl/gsl_fft.h"
19 %include
"gsl/gsl_fft_complex.h"
20 %include
"gsl/gsl_fft_halfcomplex.h"
21 %include
"gsl/gsl_fft_real.h"
23 int gsl_fft_real_radix2_transform
(double
*INOUT
, size_t
25 %apply double
*INOUT
{ double DATA
[] };
32 gsl_fft_complex_radix2_forward
33 gsl_fft_complex_radix2_backward
34 gsl_fft_complex_radix2_inverse
35 gsl_fft_complex_radix2_transform
36 gsl_fft_complex_radix2_dif_forward
37 gsl_fft_complex_radix2_dif_backward
38 gsl_fft_complex_radix2_dif_inverse
39 gsl_fft_complex_radix2_dif_transform
40 gsl_fft_complex_wavetable_alloc
41 gsl_fft_complex_wavetable_free
42 gsl_fft_complex_workspace_alloc
43 gsl_fft_complex_workspace_free
44 gsl_fft_complex_memcpy
45 gsl_fft_complex_forward
46 gsl_fft_complex_backward
47 gsl_fft_complex_inverse
48 gsl_fft_complex_transform
50 @EXPORT_halfcomplex
= qw
/
51 gsl_fft_halfcomplex_radix2_backward
52 gsl_fft_halfcomplex_radix2_inverse
53 gsl_fft_halfcomplex_radix2_transform
54 gsl_fft_halfcomplex_wavetable_alloc
55 gsl_fft_halfcomplex_wavetable_free
56 gsl_fft_halfcomplex_backward
57 gsl_fft_halfcomplex_inverse
58 gsl_fft_halfcomplex_transform
59 gsl_fft_halfcomplex_unpack
60 gsl_fft_halfcomplex_radix2_unpack
63 gsl_fft_real_radix2_transform
64 gsl_fft_real_wavetable_alloc
65 gsl_fft_real_wavetable_free
66 gsl_fft_real_workspace_alloc
67 gsl_fft_real_workspace_free
68 gsl_fft_real_transform
83 real
=> \@EXPORT_real
,
84 complex
=> \@EXPORT_complex
,
85 halfcomplex
=> \@EXPORT_halfcomplex
,
86 vars
=> \@EXPORT_vars
,