Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Private Member Functions | Private Attributes
Eigen::FFT< T_Scalar, T_Impl > Class Template Reference

Detailed Description

template<typename T_Scalar, typename T_Impl = default_fft_impl<T_Scalar>>
class Eigen::FFT< T_Scalar, T_Impl >

Definition at line 176 of file FFT.

List of all members.

Public Types

enum  Flag { Default = 0, Unscaled = 1, HalfSpectrum = 2, Speedy = 32767 }
typedef T_Impl impl_type
typedef DenseIndex Index
typedef impl_type::Scalar Scalar
typedef impl_type::Complex Complex

Public Member Functions

 FFT (const impl_type &impl=impl_type(), Flag flags=Default)
bool HasFlag (Flag f) const
void SetFlag (Flag f)
void ClearFlag (Flag f)
void fwd (Complex *dst, const Scalar *src, Index nfft)
void fwd (Complex *dst, const Complex *src, Index nfft)
template<typename _Input >
void fwd (std::vector< Complex > &dst, const std::vector< _Input > &src)
template<typename InputDerived , typename ComplexDerived >
void fwd (MatrixBase< ComplexDerived > &dst, const MatrixBase< InputDerived > &src, Index nfft=-1)
template<typename InputDerived >
fft_fwd_proxy< MatrixBase
< InputDerived >, FFT
< T_Scalar, T_Impl > > 
fwd (const MatrixBase< InputDerived > &src, Index nfft=-1)
template<typename InputDerived >
fft_inv_proxy< MatrixBase
< InputDerived >, FFT
< T_Scalar, T_Impl > > 
inv (const MatrixBase< InputDerived > &src, Index nfft=-1)
void inv (Complex *dst, const Complex *src, Index nfft)
void inv (Scalar *dst, const Complex *src, Index nfft)
template<typename OutputDerived , typename ComplexDerived >
void inv (MatrixBase< OutputDerived > &dst, const MatrixBase< ComplexDerived > &src, Index nfft=-1)
template<typename _Output >
void inv (std::vector< _Output > &dst, const std::vector< Complex > &src, Index nfft=-1)
impl_typeimpl ()

Private Member Functions

template<typename T_Data >
void scale (T_Data *x, Scalar s, Index nx)
void ReflectSpectrum (Complex *freq, Index nfft)

Private Attributes

impl_type m_impl
int m_flag

Member Typedef Documentation

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
typedef impl_type::Complex Eigen::FFT< T_Scalar, T_Impl >::Complex

Definition at line 182 of file FFT.

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
typedef T_Impl Eigen::FFT< T_Scalar, T_Impl >::impl_type

Definition at line 179 of file FFT.

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
typedef DenseIndex Eigen::FFT< T_Scalar, T_Impl >::Index

Definition at line 180 of file FFT.

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
typedef impl_type::Scalar Eigen::FFT< T_Scalar, T_Impl >::Scalar

Definition at line 181 of file FFT.


Member Enumeration Documentation

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
enum Eigen::FFT::Flag
Enumerator:
Default 
Unscaled 
HalfSpectrum 
Speedy 

Definition at line 184 of file FFT.


Constructor & Destructor Documentation

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
Eigen::FFT< T_Scalar, T_Impl >::FFT ( const impl_type impl = impl_type(),
Flag  flags = Default 
) [inline]

Definition at line 192 of file FFT.


Member Function Documentation

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
void Eigen::FFT< T_Scalar, T_Impl >::ClearFlag ( Flag  f) [inline]

Definition at line 201 of file FFT.

References Eigen::FFT< T_Scalar, T_Impl >::m_flag.

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
void Eigen::FFT< T_Scalar, T_Impl >::fwd ( Complex dst,
const Scalar src,
Index  nfft 
) [inline]
template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
template<typename InputDerived >
fft_fwd_proxy< MatrixBase<InputDerived>, FFT<T_Scalar,T_Impl> > Eigen::FFT< T_Scalar, T_Impl >::fwd ( const MatrixBase< InputDerived > &  src,
Index  nfft = -1 
) [inline]

Definition at line 275 of file FFT.

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
void Eigen::FFT< T_Scalar, T_Impl >::fwd ( Complex dst,
const Complex src,
Index  nfft 
) [inline]

Definition at line 212 of file FFT.

References Eigen::FFT< T_Scalar, T_Impl >::m_impl.

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
template<typename _Input >
void Eigen::FFT< T_Scalar, T_Impl >::fwd ( std::vector< Complex > &  dst,
const std::vector< _Input > &  src 
) [inline]
template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
template<typename InputDerived , typename ComplexDerived >
void Eigen::FFT< T_Scalar, T_Impl >::fwd ( MatrixBase< ComplexDerived > &  dst,
const MatrixBase< InputDerived > &  src,
Index  nfft = -1 
) [inline]

Definition at line 238 of file FFT.

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
bool Eigen::FFT< T_Scalar, T_Impl >::HasFlag ( Flag  f) const [inline]
template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
impl_type& Eigen::FFT< T_Scalar, T_Impl >::impl ( ) [inline]

Definition at line 387 of file FFT.

References Eigen::FFT< T_Scalar, T_Impl >::m_impl.

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
template<typename InputDerived >
fft_inv_proxy< MatrixBase<InputDerived>, FFT<T_Scalar,T_Impl> > Eigen::FFT< T_Scalar, T_Impl >::inv ( const MatrixBase< InputDerived > &  src,
Index  nfft = -1 
) [inline]

Definition at line 283 of file FFT.

Referenced by Eigen::FFT< T_Scalar, T_Impl >::inv().

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
void Eigen::FFT< T_Scalar, T_Impl >::inv ( Complex dst,
const Complex src,
Index  nfft 
) [inline]

Definition at line 289 of file FFT.

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
template<typename _Output >
void Eigen::FFT< T_Scalar, T_Impl >::inv ( std::vector< _Output > &  dst,
const std::vector< Complex > &  src,
Index  nfft = -1 
) [inline]
template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
template<typename OutputDerived , typename ComplexDerived >
void Eigen::FFT< T_Scalar, T_Impl >::inv ( MatrixBase< OutputDerived > &  dst,
const MatrixBase< ComplexDerived > &  src,
Index  nfft = -1 
) [inline]
template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
void Eigen::FFT< T_Scalar, T_Impl >::inv ( Scalar dst,
const Complex src,
Index  nfft 
) [inline]
template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
void Eigen::FFT< T_Scalar, T_Impl >::ReflectSpectrum ( Complex freq,
Index  nfft 
) [inline, private]

Definition at line 407 of file FFT.

References Eigen::internal::conj().

Referenced by Eigen::FFT< T_Scalar, T_Impl >::fwd().

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
template<typename T_Data >
void Eigen::FFT< T_Scalar, T_Impl >::scale ( T_Data *  x,
Scalar  s,
Index  nx 
) [inline, private]
template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
void Eigen::FFT< T_Scalar, T_Impl >::SetFlag ( Flag  f) [inline]

Definition at line 198 of file FFT.

References Eigen::FFT< T_Scalar, T_Impl >::m_flag.


Member Data Documentation

template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
int Eigen::FFT< T_Scalar, T_Impl >::m_flag [private]
template<typename T_Scalar , typename T_Impl = default_fft_impl<T_Scalar>>
impl_type Eigen::FFT< T_Scalar, T_Impl >::m_impl [private]



Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 Hosted on:
SourceForge.net Logo