IT++ Logo Newcom Logo

Fast Hadamard Transforms


Functions

template<class T>
Vec< T > itpp::dht (const Vec< T > &v)
 Fast Hadamard Transform.
template<class T>
void itpp::dht (const Vec< T > &vin, Vec< T > &vout)
 Fast Hadamard Transform.
template<class T>
void itpp::self_dht (Vec< T > &v)
 Fast Hadamard Transform - memory efficient. Stores the result in v.
template<class T>
Vec< T > itpp::dwht (const Vec< T > &v)
 Fast Walsh Hadamard Transform.
template<class T>
void itpp::dwht (const Vec< T > &vin, Vec< T > &vout)
 Fast Walsh Hadamard Transform.
template<class T>
void itpp::self_dwht (Vec< T > &v)
 Fast Walsh Hadamard Transform - memory efficient (result in v).
template<class T>
Mat< T > itpp::dht2 (const Mat< T > &m)
 Fast 2D Hadamard Transform.
template<class T>
Mat< T > itpp::dwht2 (const Mat< T > &m)
 Fast 2D Walsh Hadamard Transform.

Detailed Description


Function Documentation

template<class T>
Vec< T > itpp::dht ( const Vec< T > &  v  )  [inline]

Fast Hadamard Transform.

Definition at line 194 of file transforms.h.

References itpp::dht(), and itpp::Vec< Num_T >::size().

template<class T>
void itpp::dht ( const Vec< T > &  vin,
Vec< T > &  vout 
) [inline]

Fast Hadamard Transform.

Definition at line 224 of file transforms.h.

References it_assert1, itpp::levels2bits(), itpp::Vec< Num_T >::set_size(), itpp::Vec< Num_T >::size(), and itpp::sqrt().

template<class T>
void itpp::self_dht ( Vec< T > &  v  )  [inline]

Fast Hadamard Transform - memory efficient. Stores the result in v.

Definition at line 258 of file transforms.h.

References it_assert1, itpp::levels2bits(), itpp::Vec< Num_T >::size(), and itpp::sqrt().

template<class T>
Vec< T > itpp::dwht ( const Vec< T > &  v  )  [inline]

Fast Walsh Hadamard Transform.

Definition at line 284 of file transforms.h.

References itpp::dwht(), and itpp::Vec< Num_T >::size().

template<class T>
void itpp::dwht ( const Vec< T > &  vin,
Vec< T > &  vout 
) [inline]

Fast Walsh Hadamard Transform.

Definition at line 292 of file transforms.h.

References itpp::bitrv(), and itpp::dht().

template<class T>
void itpp::self_dwht ( Vec< T > &  v  )  [inline]

Fast Walsh Hadamard Transform - memory efficient (result in v).

Definition at line 300 of file transforms.h.

References itpp::bitrv(), and itpp::self_dht().

template<class T>
Mat< T > itpp::dht2 ( const Mat< T > &  m  )  [inline]

Fast 2D Hadamard Transform.

Definition at line 307 of file transforms.h.

References itpp::Mat< Num_T >::cols(), itpp::Mat< Num_T >::get_col(), itpp::Mat< Num_T >::get_row(), itpp::Mat< Num_T >::rows(), itpp::self_dht(), and itpp::transpose().

template<class T>
Mat< T > itpp::dwht2 ( const Mat< T > &  m  )  [inline]

Fast 2D Walsh Hadamard Transform.

Definition at line 327 of file transforms.h.

References itpp::Mat< Num_T >::cols(), itpp::Mat< Num_T >::get_col(), itpp::Mat< Num_T >::get_row(), itpp::Mat< Num_T >::rows(), itpp::self_dwht(), and itpp::transpose().

SourceForge Logo

Generated on Fri Jun 8 01:07:18 2007 for IT++ by Doxygen 1.5.2