Public Types | Public Member Functions | Protected Attributes | List of all members
vnl_fft_1d< T > Struct Template Reference

In-place 1D fast Fourier transform. More...

#include <vnl_fft_1d.h>

Inheritance diagram for vnl_fft_1d< T >:
Inheritance graph
[legend]

Public Types

typedef vnl_fft_base< 1, T > base
 

Public Member Functions

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

Protected Attributes

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

Detailed Description

template<class T>
struct vnl_fft_1d< T >

In-place 1D fast Fourier transform.

Definition at line 24 of file vnl_fft_1d.h.

Member Typedef Documentation

◆ base

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

Definition at line 26 of file vnl_fft_1d.h.

Constructor & Destructor Documentation

◆ vnl_fft_1d()

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

constructor takes length of signal.

Definition at line 29 of file vnl_fft_1d.h.

Member Function Documentation

◆ bwd_transform() [1/3]

template<class T>
void vnl_fft_1d< T >::bwd_transform ( std::vector< std::complex< T > > &  signal)
inline

backward (inverse) FFT.

Definition at line 61 of file vnl_fft_1d.h.

◆ bwd_transform() [2/3]

template<class T>
void vnl_fft_1d< T >::bwd_transform ( std::complex< T > *  signal)
inline

backward (inverse) FFT.

Definition at line 65 of file vnl_fft_1d.h.

◆ bwd_transform() [3/3]

template<class T>
void vnl_fft_1d< T >::bwd_transform ( vnl_vector< std::complex< T > > &  signal)
inline

backward (inverse) FFT.

Definition at line 69 of file vnl_fft_1d.h.

◆ fwd_transform() [1/3]

template<class T>
void vnl_fft_1d< T >::fwd_transform ( std::vector< std::complex< T > > &  signal)
inline

forward FFT.

Definition at line 49 of file vnl_fft_1d.h.

◆ fwd_transform() [2/3]

template<class T>
void vnl_fft_1d< T >::fwd_transform ( std::complex< T > *  signal)
inline

forward FFT.

Definition at line 53 of file vnl_fft_1d.h.

◆ fwd_transform() [3/3]

template<class T>
void vnl_fft_1d< T >::fwd_transform ( vnl_vector< std::complex< T > > &  signal)
inline

forward FFT.

Definition at line 57 of file vnl_fft_1d.h.

◆ size()

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

return length of signal.

Definition at line 34 of file vnl_fft_1d.h.

◆ transform() [1/3]

template<class T>
void vnl_fft_1d< T >::transform ( std::vector< std::complex< T > > &  signal,
int  dir 
)
inline

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

Definition at line 37 of file vnl_fft_1d.h.

◆ transform() [2/3]

template<class T>
void vnl_fft_1d< T >::transform ( std::complex< T > *  signal,
int  dir 
)
inline

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

Definition at line 41 of file vnl_fft_1d.h.

◆ transform() [3/3]

template<class T>
void vnl_fft_1d< T >::transform ( vnl_vector< std::complex< T > > &  signal,
int  dir 
)
inline

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

Definition at line 45 of file vnl_fft_1d.h.

Member Data Documentation

◆ factors_

vnl_fft_prime_factors<T> vnl_fft_base< D, T >::factors_[D]
protectedinherited

prime factorizations of signal dimensions.

Definition at line 28 of file vnl_fft_base.h.


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