vnl_fft_1d< T > Struct Template Reference

#include <vnl_fft_1d.h>

Inheritance diagram for vnl_fft_1d< T >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class T>
struct vnl_fft_1d< T >

In-place 1D fast Fourier transform.

Definition at line 32 of file vnl_fft_1d.h.


Public Types

typedef vnl_fft_base< 1, T > base

Public Member Functions

 vnl_fft_1d (int N)
 constructor takes length of signal.
unsigned int size () const
 return length of signal.
void transform (vcl_vector< vcl_complex< T > > &signal, int dir)
 dir = +1/-1 according to direction of transform.
void transform (vcl_complex< T > *signal, int dir)
 dir = +1/-1 according to direction of transform.
void transform (vnl_vector< vcl_complex< T > > &signal, int dir)
 dir = +1/-1 according to direction of transform.
void fwd_transform (vcl_vector< vcl_complex< T > > &signal)
 forward FFT.
void fwd_transform (vcl_complex< T > *signal)
 forward FFT.
void fwd_transform (vnl_vector< vcl_complex< T > > &signal)
 forward FFT.
void bwd_transform (vcl_vector< vcl_complex< T > > &signal)
 backward (inverse) FFT.
void bwd_transform (vcl_complex< T > *signal)
 backward (inverse) FFT.
void bwd_transform (vnl_vector< vcl_complex< T > > &signal)
 backward (inverse) FFT.

Protected Attributes

vnl_fft_prime_factors< T > factors_ [D]
 prime factorizations of signal dimensions.

Member Typedef Documentation

template<class T>
typedef vnl_fft_base<1, T> vnl_fft_1d< T >::base

Definition at line 34 of file vnl_fft_1d.h.


Constructor & Destructor Documentation

template<class T>
vnl_fft_1d< T >::vnl_fft_1d ( int  N  )  [inline]

constructor takes length of signal.

Definition at line 37 of file vnl_fft_1d.h.


Member Function Documentation

template<class T>
unsigned int vnl_fft_1d< T >::size (  )  const [inline]

return length of signal.

Definition at line 42 of file vnl_fft_1d.h.

template<class T>
void vnl_fft_1d< T >::transform ( vcl_vector< vcl_complex< T > > &  signal,
int  dir 
) [inline]

dir = +1/-1 according to direction of transform.

Definition at line 45 of file vnl_fft_1d.h.

template<class T>
void vnl_fft_1d< T >::transform ( vcl_complex< T > *  signal,
int  dir 
) [inline]

dir = +1/-1 according to direction of transform.

Reimplemented from vnl_fft_base< 1, T >.

Definition at line 49 of file vnl_fft_1d.h.

template<class T>
void vnl_fft_1d< T >::transform ( vnl_vector< vcl_complex< T > > &  signal,
int  dir 
) [inline]

dir = +1/-1 according to direction of transform.

Definition at line 53 of file vnl_fft_1d.h.

template<class T>
void vnl_fft_1d< T >::fwd_transform ( vcl_vector< vcl_complex< T > > &  signal  )  [inline]

forward FFT.

Definition at line 57 of file vnl_fft_1d.h.

template<class T>
void vnl_fft_1d< T >::fwd_transform ( vcl_complex< T > *  signal  )  [inline]

forward FFT.

Definition at line 61 of file vnl_fft_1d.h.

template<class T>
void vnl_fft_1d< T >::fwd_transform ( vnl_vector< vcl_complex< T > > &  signal  )  [inline]

forward FFT.

Definition at line 65 of file vnl_fft_1d.h.

template<class T>
void vnl_fft_1d< T >::bwd_transform ( vcl_vector< vcl_complex< T > > &  signal  )  [inline]

backward (inverse) FFT.

Definition at line 69 of file vnl_fft_1d.h.

template<class T>
void vnl_fft_1d< T >::bwd_transform ( vcl_complex< T > *  signal  )  [inline]

backward (inverse) FFT.

Definition at line 73 of file vnl_fft_1d.h.

template<class T>
void vnl_fft_1d< T >::bwd_transform ( vnl_vector< vcl_complex< T > > &  signal  )  [inline]

backward (inverse) FFT.

Definition at line 77 of file vnl_fft_1d.h.


Member Data Documentation

vnl_fft_prime_factors<T > vnl_fft_base< D, T >::factors_[D] [protected, inherited]

prime factorizations of signal dimensions.

Definition at line 27 of file vnl_fft_base.h.


The documentation for this struct was generated from the following file:

Generated on Sun Nov 22 06:17:20 2009 for core/vnl by  doxygen 1.5.5