IT++ Logo
sigfun.h
Go to the documentation of this file.
1 
29 #ifndef SIGFUN_H
30 #define SIGFUN_H
31 
32 #include <itpp/base/vec.h>
33 #include <itpp/itexports.h>
34 
35 
36 namespace itpp
37 {
38 
70 ITPP_EXPORT void xcorr_old(const vec &x, const vec &y, vec &out, const int max_lag = -1, const std::string scaleopt = "none");
71 ITPP_EXPORT void xcorr(const vec &x, const vec &y, vec &out, const int max_lag = -1, const std::string scaleopt = "none");
101 ITPP_EXPORT vec xcorr_old(const vec &x, const vec &y, const int max_lag = -1, const std::string scaleopt = "none");
102 ITPP_EXPORT vec xcorr(const vec &x, const vec &y, const int max_lag = -1, const std::string scaleopt = "none");
110 ITPP_EXPORT cvec xcorr(const cvec &x, const cvec &y, const int max_lag = -1, const std::string scaleopt = "none");
111 
112 
138 ITPP_EXPORT vec xcorr_old(const vec &x, const int max_lag = -1, const std::string scaleopt = "none");
139 ITPP_EXPORT vec xcorr(const vec &x, const int max_lag = -1, const std::string scaleopt = "none");
147 ITPP_EXPORT cvec xcorr(const cvec &x, const int max_lag = -1, const std::string scaleopt = "none");
148 
154 ITPP_EXPORT void xcorr(const cvec &x, const cvec &y, cvec &out, const int max_lag = -1, const std::string scaleopt = "none",
155  bool autoflag = true);
156 
168 ITPP_EXPORT mat cov(const mat &X, bool is_zero_mean = false);
169 
170 //vec cov(const vec &x, short order);
171 
177 ITPP_EXPORT vec spectrum(const vec &v, int nfft = 256, int noverlap = 0);
178 
184 ITPP_EXPORT vec spectrum(const vec &v, const vec &w, int noverlap = 0);
185 
191 ITPP_EXPORT vec filter_spectrum(const vec &a, int nfft = 256);
192 
198 ITPP_EXPORT vec filter_spectrum(const vec &a, const vec &b, int nfft = 256);
199 
202 } // namespace itpp
203 
204 #endif // #ifndef SIGFUN_H
SourceForge Logo

Generated on Sat Jul 6 2013 10:54:25 for IT++ by Doxygen 1.8.2