Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

aflibFFT.cc File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "aflibFFT.h"

Defines

#define pi   3.1415926535897932384626434
#define c_re(c)   ((c).re)
#define c_im(c)   ((c).im)
#define c_add_mul(c, c1, c2)
#define c_conj(c)   { c_im (c) = -c_im (c); }
#define c_realdiv(c, real)   { c_re (c) /= (real); c_im (c) /= (real); }
#define W(n, k)   (W_factors [((k) * (Nfactors / (n))) % Nfactors])

Define Documentation

#define c_add_mul c,
c1,
c2   
 

Value:

{ COMPLEX C1, C2; C1 = (c1); C2 = (c2); \
                  c_re (c) += C1.re * C2.re - C1.im * C2.im; \
                  c_im (c) += C1.re * C2.im + C1.im * C2.re; }

#define c_conj      { c_im (c) = -c_im (c); }
 

#define c_im      ((c).im)
 

#define c_re      ((c).re)
 

#define c_realdiv c,
real       { c_re (c) /= (real); c_im (c) /= (real); }
 

#define pi   3.1415926535897932384626434
 

#define W n,
     (W_factors [((k) * (Nfactors / (n))) % Nfactors])
 


Generated on Wed May 8 20:51:07 2002 for Open Source Audio Library Project by doxygen1.2.15