Public Member Functions | Private Member Functions | Private Attributes
vnl_fft_prime_factors< T > Struct Template Reference

Holds prime factor information. More...

#include <vnl_fft_prime_factors.h>

List of all members.

Public Member Functions

 vnl_fft_prime_factors ()
 vnl_fft_prime_factors (int N)
 constructor takes the size of the signal.
 ~vnl_fft_prime_factors ()
T const * trigs () const
 array of twiddle factors.
int number () const
 number which was factorized.
long const * pqr () const
 exponents P, Q, R.
 operator safe_bool () const
bool operator! () const
void resize (int N)

Private Member Functions

void construct (int N)
void destruct ()
 vnl_fft_prime_factors (vnl_fft_prime_factors< T > const &)
vnl_fft_prime_factors< T > & operator= (vnl_fft_prime_factors< T > const &)

Private Attributes

 VCL_SAFE_BOOL_DEFINE
T * trigs_
long number_
long pqr_ [3]
long info_

Detailed Description

template<class T>
struct vnl_fft_prime_factors< T >

Holds prime factor information.

Helper class used by the vnl_fft_xd<> FFT routines

Given an integer N of the form $N = 2^P 3^Q 5^R$ split N into its primefactors (2, 3, 5)

Definition at line 25 of file vnl_fft_prime_factors.h.


Constructor & Destructor Documentation

template<class T >
vnl_fft_prime_factors< T >::vnl_fft_prime_factors ( )

Definition at line 11 of file vnl_fft_prime_factors.txx.

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

constructor takes the size of the signal.

Definition at line 33 of file vnl_fft_prime_factors.h.

template<class T >
vnl_fft_prime_factors< T >::~vnl_fft_prime_factors ( ) [inline]

Definition at line 35 of file vnl_fft_prime_factors.h.

template<class T >
vnl_fft_prime_factors< T >::vnl_fft_prime_factors ( vnl_fft_prime_factors< T > const &  ) [inline, private]

Definition at line 66 of file vnl_fft_prime_factors.h.


Member Function Documentation

template<class T >
void vnl_fft_prime_factors< T >::construct ( int  N) [private]

Definition at line 18 of file vnl_fft_prime_factors.txx.

template<class T >
void vnl_fft_prime_factors< T >::destruct ( ) [private]

Definition at line 30 of file vnl_fft_prime_factors.txx.

template<class T >
int vnl_fft_prime_factors< T >::number ( ) const [inline]

number which was factorized.

Definition at line 41 of file vnl_fft_prime_factors.h.

template<class T >
vnl_fft_prime_factors< T >::operator safe_bool ( ) const [inline]

Definition at line 46 of file vnl_fft_prime_factors.h.

template<class T >
bool vnl_fft_prime_factors< T >::operator! ( ) const [inline]

Definition at line 48 of file vnl_fft_prime_factors.h.

template<class T >
vnl_fft_prime_factors<T>& vnl_fft_prime_factors< T >::operator= ( vnl_fft_prime_factors< T > const &  ) [inline, private]

Definition at line 67 of file vnl_fft_prime_factors.h.

template<class T >
long const* vnl_fft_prime_factors< T >::pqr ( ) const [inline]

exponents P, Q, R.

Definition at line 44 of file vnl_fft_prime_factors.h.

template<class T >
void vnl_fft_prime_factors< T >::resize ( int  N) [inline]

Definition at line 51 of file vnl_fft_prime_factors.h.

template<class T >
T const* vnl_fft_prime_factors< T >::trigs ( ) const [inline]

array of twiddle factors.

Definition at line 38 of file vnl_fft_prime_factors.h.


Member Data Documentation

template<class T >
long vnl_fft_prime_factors< T >::info_ [private]

Definition at line 60 of file vnl_fft_prime_factors.h.

template<class T >
long vnl_fft_prime_factors< T >::number_ [private]

Definition at line 58 of file vnl_fft_prime_factors.h.

template<class T >
long vnl_fft_prime_factors< T >::pqr_[3] [private]

Definition at line 59 of file vnl_fft_prime_factors.h.

template<class T >
T* vnl_fft_prime_factors< T >::trigs_ [private]

Definition at line 57 of file vnl_fft_prime_factors.h.

template<class T >
vnl_fft_prime_factors< T >::VCL_SAFE_BOOL_DEFINE [private]

Definition at line 28 of file vnl_fft_prime_factors.h.


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