File: fft.h

package info (click to toggle)
arts 1.5.9-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 8,436 kB
  • ctags: 9,848
  • sloc: ansic: 44,670; cpp: 33,776; sh: 10,486; perl: 3,470; makefile: 372; yacc: 347; lex: 160
file content (32 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef ARTS_FFT_H
#define ARTS_FFT_H

/*
 * BC - Status (2002-03-08): arts_fft_float
 *
 * This fft interface should be obsoleted in the future in favour of one
 * exploiting the capabilities of gsl fully. However, it will be kept binary
 * compatible to avoid everybody to reimplement/duplicate their own fft.
 */


#ifdef __cplusplus
extern "C" {
#endif

/**
 * performs an fft
 */
void arts_fft_float (
    unsigned  NumSamples,          /* must be a power of 2 */
    int       InverseTransform,    /* 0=forward FFT, 1=inverse FFT */
    float    *RealIn,              /* array of input's real samples */
    float    *ImaginaryIn,         /* array of input's imag samples */
    float    *RealOut,             /* array of output's reals */
    float    *ImaginaryOut );      /* array of output's imaginaries */


#ifdef __cplusplus
}
#endif
#endif /* ARTS_FFT_H */