diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-05 17:34:11 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-05 17:34:11 +0000 |
commit | 12e3edcb11b61334afac46183a79ec51124c5302 (patch) | |
tree | 479b9abe7b11f5544e4f409f55aaea3ffa75e833 /lib/leanconvert.c | |
parent | 40ccbedc15f45a3b1a00c2942b95e5244d3424a2 (diff) |
remove lib/ folder with duplicate source files
svn path=/trunk/externals/fftease/; revision=16340
Diffstat (limited to 'lib/leanconvert.c')
-rw-r--r-- | lib/leanconvert.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/leanconvert.c b/lib/leanconvert.c deleted file mode 100644 index 617c665..0000000 --- a/lib/leanconvert.c +++ /dev/null @@ -1 +0,0 @@ -#include "fftease.h"
void leanconvert( float *S, float *C, int N2 )
{
int real, imag,
amp, phase;
float a, b;
int i;
double hypot(), atan2();
for ( i = 0; i <= N2; i++ ) {
imag = phase = ( real = amp = i<<1 ) + 1;
a = ( i == N2 ? S[1] : S[real] );
b = ( i == 0 || i == N2 ? 0. : S[imag] );
C[amp] = hypot( a, b );
C[phase] = -atan2( b, a );
}
}
\ No newline at end of file |