Public Member Functions | Private Member Functions | Private Attributes | List of all members
vnl_fft_prime_factors< T > Struct Template Reference

Holds prime factor information. More...

#include <vnl_fft_prime_factors.h>

Public Member Functions

 vnl_fft_prime_factors ()
 
 vnl_fft_prime_factors (int N)
 constructor takes the size of the signal. More...
 
 ~vnl_fft_prime_factors ()
 
T const * trigs () const
 array of twiddle factors. More...
 
int number () const
 number which was factorized. More...
 
long const * pqr () const
 exponents P, Q, R. More...
 
 operator 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

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 26 of file vnl_fft_prime_factors.h.

Constructor & Destructor Documentation

◆ vnl_fft_prime_factors() [1/3]

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

Definition at line 14 of file vnl_fft_prime_factors.hxx.

◆ vnl_fft_prime_factors() [2/3]

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 34 of file vnl_fft_prime_factors.h.

◆ ~vnl_fft_prime_factors()

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

Definition at line 36 of file vnl_fft_prime_factors.h.

◆ vnl_fft_prime_factors() [3/3]

template<class T>
vnl_fft_prime_factors< T >::vnl_fft_prime_factors ( vnl_fft_prime_factors< T > const &  )
inlineprivate

Definition at line 67 of file vnl_fft_prime_factors.h.

Member Function Documentation

◆ construct()

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

Definition at line 21 of file vnl_fft_prime_factors.hxx.

◆ destruct()

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

Definition at line 33 of file vnl_fft_prime_factors.hxx.

◆ number()

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

number which was factorized.

Definition at line 42 of file vnl_fft_prime_factors.h.

◆ operator bool()

template<class T>
vnl_fft_prime_factors< T >::operator bool ( ) const
inlineexplicit

Definition at line 47 of file vnl_fft_prime_factors.h.

◆ operator!()

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

Definition at line 49 of file vnl_fft_prime_factors.h.

◆ operator=()

template<class T>
vnl_fft_prime_factors<T>& vnl_fft_prime_factors< T >::operator= ( vnl_fft_prime_factors< T > const &  )
inlineprivate

Definition at line 68 of file vnl_fft_prime_factors.h.

◆ pqr()

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

exponents P, Q, R.

Definition at line 45 of file vnl_fft_prime_factors.h.

◆ resize()

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

Definition at line 52 of file vnl_fft_prime_factors.h.

◆ trigs()

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

array of twiddle factors.

Definition at line 39 of file vnl_fft_prime_factors.h.

Member Data Documentation

◆ info_

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

Definition at line 61 of file vnl_fft_prime_factors.h.

◆ number_

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

Definition at line 59 of file vnl_fft_prime_factors.h.

◆ pqr_

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

Definition at line 60 of file vnl_fft_prime_factors.h.

◆ trigs_

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

Definition at line 58 of file vnl_fft_prime_factors.h.


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