00001 /* 00002 * THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE 00003 * CHECKED IT OUT USING THE COMMAND CHECKOUT. 00004 * 00005 * $Id: 00006 * 00007 * Revision history: 00008 * $Log: 00009 * 00010 * 00011 * 00012 */ 00013 00014 /* Header for fft_prep.c, a collection of routines to prepare for 00015 * the use of Temperton FFT99 routines. 00016 */ 00017 00018 #ifndef FFT_PREP_H 00019 #define FFT_PREP_H 00020 00021 #include <fft99.h> 00022 00023 #define N_FAC 30 00024 #define N_RADIX 3 00025 00026 /* Element of linked list of FFT factors and their trig structure */ 00027 typedef struct _FACT 00028 { 00029 long nfft; 00030 long fact_power[N_RADIX]; 00031 double *trigs; 00032 long *ifax; 00033 struct _FACT *next; 00034 } FACT; 00035 00036 00037 /* Public function prototypes */ 00038 long buildFacList(long n); 00039 void trimFacList(long n); 00040 long prepFFT( long n, FACT **pf ); 00041 void printFacList( ); 00042 void fftPrepDebug( int ); 00043 00044 #endif