From 1b9528344df6c0046826b2758a07d6c68bb0b575 Mon Sep 17 00:00:00 2001 From: torset Date: Wed, 3 Dec 2008 16:06:44 +0000 Subject: Changes in ifft directory --- src/signalProcessing/ifft/fft842.c | 165 ------------------------------------- 1 file changed, 165 deletions(-) delete mode 100644 src/signalProcessing/ifft/fft842.c (limited to 'src/signalProcessing/ifft/fft842.c') diff --git a/src/signalProcessing/ifft/fft842.c b/src/signalProcessing/ifft/fft842.c deleted file mode 100644 index 2742463f..00000000 --- a/src/signalProcessing/ifft/fft842.c +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab - * Copyright (C) 2008 - INRIA - Allan SIMON - * - * This file must be used under the terms of the CeCILL. - * This source file is licensed as described in the file COPYING, which - * you should have received as part of this distribution. The terms - * are also available at - * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - * - */ - -#include "fft_internal.h" -#include - - - -/* get binary log of integer argument; exact if n a power of 2 */ -static int fastlog2( int n) -{ - int log = -1; - while(n) { - log++; - n >>= 1; - } - return(log); -} - -/* - int in; FORWARD or INVERSE - int n; length of vector - DPCOMPLEX *b; input vector -*/ -void fft842 (doubleComplex* b, int size , int in) -{ - double fn; - doubleComplex temp ; - - int L[16],L1,L2,L3,L4,L5,L6,L7,L8,L9,L10,L11,L12,L13,L14,L15; - int j1,j2,j3,j4,j5,j6,j7,j8,j9,j10,j11,j12,j13,j14; - int i = 0, j, ij, ji, ij1, ji1; - int n2pow, n8pow, nthpo, ipass, nxtlt, lengt; - - n2pow = fastlog2( size ); - nthpo = size ; - fn = nthpo; - - - if(in==INVERSE) - /*scramble inputs*/ - - for(i=0,j=size/2;j