Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
vnl_fft1d< T > Class Template Reference
#include <vnl_fft1d.h>
Inheritance diagram for vnl_fft1d:
[legend]Collaboration diagram for vnl_fft1d< T >:
[legend]List of all members.
Public Methods |
| vnl_fft1d (const vnl_vector< T > &r) |
| vnl_fft1d (const vnl_vector< vcl_complex< T > > &z, int dir) |
| vnl_fft1d (const vnl_vector< T > &r, const vnl_vector< T > &i, const vnl_fftxd_prime_factors< T > &oPF, int dir) |
| vnl_fft1d (const vnl_vector< T > &r, const vnl_fftxd_prime_factors< T > &oPF, int dir) |
| vnl_fft1d (const T *realdata, const T *imagdata, unsigned len, const vnl_fftxd_prime_factors< T > &, int dir) |
| vnl_fft1d (const T *data, unsigned len, const vnl_fftxd_prime_factors< T > &, int dir) |
| vnl_fft1d (const vnl_vector< vcl_complex< T > > &c, const vnl_fftxd_prime_factors< T > &, int dir) |
| vnl_fft1d (const vcl_complex< T > *cdata, unsigned len, const vnl_fftxd_prime_factors< T > &, int dir) |
Static Public Methods |
int | doFFT_IP (vcl_complex< T > *cdata, unsigned len, const vnl_fftxd_prime_factors< T > &, int dir) |
Detailed Description
template<class T>
class vnl_fft1d< T >
Templated 1D FFT class based on Temperton FFT routines.
C TEMPERTON A GENERALIZED PRIME FACTOR FFT ALGORITHM FOR ANY
SIAM J. SCI. STAT. COMP., MAY 1992.)
original temperton-code (fortran) converted using f2c with -C++ option. Two versions created: float and double.
subclassed from vnl_vector<vnl_complex>, i.e. internally uses vnl_vector<vnl_complex> for storing the data
two super-simple constructors, first takes as input is an vnl_vector<T> for which it will compute the FFT. Second takes vnl_complex_vector_t<T> and direction. Calculates FFT in that direction. For efficiency, all other constructors take as an argument two PrimeFactors<T>-objects which have to be initialised before the call do doFFT. These PrimeFactors<T> objects contain the prime-factors of the 'number' (the size of the array) to be FFT'd. (integral part of Temperton's algorithm)
Definition at line 37 of file vnl_fft1d.h.
Constructor & Destructor Documentation
template<class T> |
vnl_fft1d< T >::vnl_fft1d |
( |
const vnl_vector< T > & |
r |
) |
|
|
template<class T> |
vnl_fft1d< T >::vnl_fft1d |
( |
const vnl_vector< vcl_complex< T > > & |
z, |
|
|
int |
dir |
|
) |
|
|
|
(real,imag)-constructors. |
template<class T> |
vnl_fft1d< T >::vnl_fft1d |
( |
const T * |
realdata, |
|
|
const T * |
imagdata, |
|
|
unsigned |
len, |
|
|
const vnl_fftxd_prime_factors< T > & |
, |
|
|
int |
dir |
|
) |
|
|
template<class T> |
vnl_fft1d< T >::vnl_fft1d |
( |
const T * |
data, |
|
|
unsigned |
len, |
|
|
const vnl_fftxd_prime_factors< T > & |
, |
|
|
int |
dir |
|
) |
|
|
template<class T> |
vnl_fft1d< T >::vnl_fft1d |
( |
const vcl_complex< T > * |
cdata, |
|
|
unsigned |
len, |
|
|
const vnl_fftxd_prime_factors< T > & |
, |
|
|
int |
dir |
|
) |
|
|
Member Function Documentation
template<class T> |
int vnl_fft1d< T >::doFFT_IP |
( |
vcl_complex< T > * |
cdata, |
|
|
unsigned |
len, |
|
|
const vnl_fftxd_prime_factors< T > & |
, |
|
|
int |
dir |
|
) |
[static] |
|
|
static member function: avoid copy-overhead. |
The documentation for this class was generated from the following file:
Generated at Fri May 21 01:16:48 2004 for ITK by
1.2.15 written by Dimitri van Heesch,
© 1997-2000