NAME

refft - real fft


SYNOPSIS

 void refft (x,lx,isign,scale,mode)


INPUT PARAMETERS

x -complex*
         input/output array
lx -int
         length of real array; must be a power of 2
isign-int
         sign of sqrt(-1)
scale-float
         scale factor; sqrt(2./lx) conserves energy
mode -int
         1 for lx real to lx/2 complex
         2 for lx real to lx/2+1 complex
         -1 for lx/2 complex to lx real
         -2 for lx/2+1 complex to lx real


DESCRIPTION

     Real fast Fourier transform along one trace.  
     C language subroutine for a one-dimensional real to complex or
     viceversa fast Fourier transform. refft performs transforms
     between elements of a vector. The arguments are as follows:


SEE ALSO

the refft manpage,the rvfft manpage,the cvfft manpage


LIBRARY

sepfft