1 %module
"Math::GSL::FFT"
3 %include
"gsl_typemaps.i"
6 %typemap
(argout
) (double data
[], const size_t stride
, const size_t n
) {
11 av_push
(tempav
, newSVnv
((double
) $
1[i
]));
15 $result
= sv_2mortal
( newRV_noinc
( (SV
*) tempav
) );
19 %typemap
(argout
) (gsl_complex_packed_array data
[], const size_t stride
, const size_t n
) {
24 av_push
(tempav
, newSVnv
((double
) $
1[i
]));
28 $result
= sv_2mortal
( newRV_noinc
( (SV
*) tempav
) );
33 #include
"gsl/gsl_fft.h"
34 #include
"gsl/gsl_fft_complex.h"
35 #include
"gsl/gsl_fft_halfcomplex.h"
36 #include
"gsl/gsl_fft_real.h"
37 #include
"gsl/gsl_complex.h"
40 %include
"gsl/gsl_complex.h"
41 %include
"gsl/gsl_fft.h"
42 %include
"gsl/gsl_fft_complex.h"
43 %include
"gsl/gsl_fft_halfcomplex.h"
44 %include
"gsl/gsl_fft_real.h"
45 %include
"../pod/FFT.pod"