29 #ifndef SCIMATH_FFTPACK_H
30 #define SCIMATH_FFTPACK_H
32 #include <casacore/casa/aips.h>
36 #if defined(AIPS_USE_NEW_SGI)
37 #include <casacore/casa/BasicSL/Complex.h>
39 #include <casacore/casa/BasicSL/Complexfwd.h>
42 #warning "FFTPack is deprecated and will be removed in a future version of casacore. Please use FFTW."
static void cosqf(Int n, Double *x, Double *wsave)
static void rfftb(Int n, Double *r, Double *wsave)
static void sinqi(Int n, Double *wsave)
static void ezfftb(Int n, Float *r, Float *azero, Float *a, Float *b, Float *wsave)
ezfftb computes a real perodic sequence from its Fourier coefficients (Fourier synthesis).
static void cost(Int n, Double *x, Double *wsave)
static void ezfftf(Int n, Float *r, Float *azero, Float *a, Float *b, Float *wsave)
ezfftf computes the Fourier coefficients of a real perodic sequence (Fourier analysis).
static void sinqi(Int n, Float *wsave)
sinqi initializes the array wsave which is used in both sinqf and sinqb.
static void sint(Int n, Float *x, Float *wsave)
sint computes the discrete Fourier sine transform of an odd sequence x(i).
static void cfftf(Int n, Complex *c, Float *wsave)
cfftf computes the forward complex discrete Fourier transform (the Fourier analysis).
static void rfftb(Int n, Float *r, Float *wsave)
rfftb computes the real perodic sequence from its Fourier coefficients (Fourier synthesis).
static void cfft2b(const Int &LDIM, const Int &L, const Int &M, Complex *&C, Float *&WSAVE, const Int &LENSAV, Float *&WORK, const Int &LENWRK, Int &IER)
Documentation from FFTPack 5.1.
static void cfftf(Int n, DComplex *c, Double *wsave)
static void cosqb(Int n, Double *x, Double *wsave)
static void rffti(Int n, Double *wsave)
static void sinqb(Int n, Double *x, Double *wsave)
static void sinqf(Int n, Double *x, Double *wsave)
static void cfft2f(const Int &ldim, const Int &L, const Int &M, Complex *&C, Float *&WSAVE, const Int &LENSAV, Float *&WORK, const Int &LENWRK, Int &IER)
Description from FFTPack 5.1.
static void sinti(Int n, Double *wsave)
static void cffti(Int n, Float *wsave)
cffti initializes the array wsave which is used in both cfftf and cfftb.
static void costi(Int n, Float *wsave)
costi initializes the array wsave which is used in cost.
static void cost(Int n, Float *x, Float *wsave)
cost computes the discrete Fourier cosine transform of an even sequence x(i).
static void rfftf(Int n, Float *r, Float *wsave)
rfftf computes the Fourier coefficients of a real perodic sequence (Fourier analysis).
static void cfftb(Int n, Complex *c, Float *wsave)
cfftb computes the backward complex discrete Fourier transform (the Fourier synthesis).
static void cfft2i(const Int &n, const Int &m, Float *&wsave, const Int &lensav, Int &ier)
Here is the doc from FFTPack 5.1 You can convert the linguo from fortran to C/C++.
static void cosqi(Int n, Float *wsave)
static void sinqf(Int n, Float *x, Float *wsave)
sinqf computes the fast Fourier transform of quarter wave data.
static void cffti(Int n, Double *wsave)
static void cosqi(Int n, Double *wsave)
static void sint(Int n, Double *x, Double *wsave)
static void sinti(Int n, Float *wsave)
sinti initializes the array wsave which is used in sint.
static void sinqb(Int n, Float *x, Float *wsave)
sinqb computes the fast Fourier transform of quarter wave data.
static void cosqf(Int n, Float *x, Float *wsave)
static void rffti(Int n, Float *wsave)
rffti initializes the array wsave which is used in both rfftf and rfftb.
static void cosqb(Int n, Float *x, Float *wsave)
static void rfftf(Int n, Double *r, Double *wsave)
static void ezffti(Int n, Float *wsave)
ezffti initializes the array wsave which is used in both ezfftf and ezfftb.
static void cfftb(Int n, DComplex *c, Double *wsave)
static void costi(Int n, Double *wsave)
std::complex< Float > Complex
std::complex< Double > DComplex
const Double c
Fundamental physical constants (SI units):
this file contains all the compiler specific defines