home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / arts / fft.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-09-10  |  871 b   |  33 lines

  1. #ifndef ARTS_FFT_H
  2. #define ARTS_FFT_H
  3.  
  4. /*
  5.  * BC - Status (2002-03-08): arts_fft_float
  6.  *
  7.  * This fft interface should be obsoleted in the future in favour of one
  8.  * exploiting the capabilities of gsl fully. However, it will be kept binary
  9.  * compatible to avoid everybody to reimplement/duplicate their own fft.
  10.  */
  11.  
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17. /**
  18.  * performs an fft
  19.  */
  20. void arts_fft_float (
  21.     unsigned  NumSamples,          /* must be a power of 2 */
  22.     int       InverseTransform,    /* 0=forward FFT, 1=inverse FFT */
  23.     float    *RealIn,              /* array of input's real samples */
  24.     float    *ImaginaryIn,         /* array of input's imag samples */
  25.     float    *RealOut,             /* array of output's reals */
  26.     float    *ImaginaryOut );      /* array of output's imaginaries */
  27.  
  28.  
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif /* ARTS_FFT_H */
  33.