00001 00030 #ifndef SIGFUN_H 00031 #define SIGFUN_H 00032 00033 #include <itpp/base/vec.h> 00034 00035 00036 namespace itpp { 00037 00069 void xcorr_old(const vec &x, const vec &y, vec &out, const int max_lag=-1, const std::string scaleopt="none"); 00070 void xcorr(const vec &x, const vec &y, vec &out, const int max_lag=-1, const std::string scaleopt="none"); 00100 vec xcorr_old(const vec &x, const vec &y, const int max_lag=-1, const std::string scaleopt="none"); 00101 vec xcorr(const vec &x, const vec &y, const int max_lag=-1, const std::string scaleopt="none"); 00109 cvec xcorr(const cvec &x, const cvec &y,const int max_lag=-1,const std::string scaleopt="none"); 00110 00111 00137 vec xcorr_old(const vec &x, const int max_lag=-1, const std::string scaleopt="none"); 00138 vec xcorr(const vec &x, const int max_lag=-1, const std::string scaleopt="none"); 00146 cvec xcorr(const cvec &x, const int max_lag=-1,const std::string scaleopt="none"); 00147 00153 void xcorr(const cvec &x, const cvec &y, cvec &out, const int max_lag=-1,const std::string scaleopt="none", 00154 bool autoflag=true); 00155 00167 mat cov(const mat &X, bool is_zero_mean=false); 00168 00169 //vec cov(const vec &x, short order); 00170 00176 vec spectrum(const vec &v, int nfft=256, int noverlap=0); 00177 00183 vec spectrum(const vec &v, const vec &w, int noverlap=0); 00184 00190 vec filter_spectrum(const vec &a, int nfft=256); 00191 00197 vec filter_spectrum(const vec &a, const vec &b, int nfft=256); 00198 00201 } // namespace itpp 00202 00203 #endif // #ifndef SIGFUN_H
Generated on Sun Dec 9 17:30:27 2007 for IT++ by Doxygen 1.5.4