libwt  1.0.0
A C++ library for the continous wavelet transform.
types.hh
1 #ifndef __WT_TYPES_HH__
2 #define __WT_TYPES_HH__
3 
4 #include <complex>
5 #include <cmath>
6 #include "object.hh"
7 #include <Eigen/Eigen>
8 
9 namespace wt {
10 
12 typedef double Scalar;
14 typedef std::complex<Scalar> CScalar;
16 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1> RVector;
18 typedef Eigen::Matrix<CScalar, Eigen::Dynamic, 1> CVector;
20 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> RMatrix;
22 typedef Eigen::Matrix<CScalar, Eigen::Dynamic, Eigen::Dynamic> CMatrix;
23 
24 }
25 
27 #define WT_IDIV_CEIL(a,b) ( (a/b) + ((a%b)?1:0) )
28 
29 #endif // __WT_TYPES_HH__
Definition: convolution.hh:7