00001 00030 #ifndef SIGFUN_H 00031 #define SIGFUN_H 00032 00033 #include <itpp/base/vec.h> 00034 00035 00036 namespace itpp 00037 { 00038 00070 void xcorr_old(const vec &x, const vec &y, vec &out, const int max_lag = -1, const std::string scaleopt = "none"); 00071 void xcorr(const vec &x, const vec &y, vec &out, const int max_lag = -1, const std::string scaleopt = "none"); 00101 vec xcorr_old(const vec &x, const vec &y, const int max_lag = -1, const std::string scaleopt = "none"); 00102 vec xcorr(const vec &x, const vec &y, const int max_lag = -1, const std::string scaleopt = "none"); 00110 cvec xcorr(const cvec &x, const cvec &y, const int max_lag = -1, const std::string scaleopt = "none"); 00111 00112 00138 vec xcorr_old(const vec &x, const int max_lag = -1, const std::string scaleopt = "none"); 00139 vec xcorr(const vec &x, const int max_lag = -1, const std::string scaleopt = "none"); 00147 cvec xcorr(const cvec &x, const int max_lag = -1, const std::string scaleopt = "none"); 00148 00154 void xcorr(const cvec &x, const cvec &y, cvec &out, const int max_lag = -1, const std::string scaleopt = "none", 00155 bool autoflag = true); 00156 00168 mat cov(const mat &X, bool is_zero_mean = false); 00169 00170 //vec cov(const vec &x, short order); 00171 00177 vec spectrum(const vec &v, int nfft = 256, int noverlap = 0); 00178 00184 vec spectrum(const vec &v, const vec &w, int noverlap = 0); 00185 00191 vec filter_spectrum(const vec &a, int nfft = 256); 00192 00198 vec filter_spectrum(const vec &a, const vec &b, int nfft = 256); 00199 00202 } // namespace itpp 00203 00204 #endif // #ifndef SIGFUN_H
Generated on Sun Jul 26 08:54:57 2009 for IT++ by Doxygen 1.5.9