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
36namespace itpp
37{
38
70ITPP_EXPORT void xcorr_old(const vec &x, const vec &y, vec &out, const int max_lag = -1, const std::string scaleopt = "none");
71ITPP_EXPORT void xcorr(const vec &x, const vec &y, vec &out, const int max_lag = -1, const std::string scaleopt = "none");
101ITPP_EXPORT vec xcorr_old(const vec &x, const vec &y, const int max_lag = -1, const std::string scaleopt = "none");
102ITPP_EXPORT vec xcorr(const vec &x, const vec &y, const int max_lag = -1, const std::string scaleopt = "none");
110ITPP_EXPORT cvec xcorr(const cvec &x, const cvec &y, const int max_lag = -1, const std::string scaleopt = "none");
111
112
138ITPP_EXPORT vec xcorr_old(const vec &x, const int max_lag = -1, const std::string scaleopt = "none");
139ITPP_EXPORT vec xcorr(const vec &x, const int max_lag = -1, const std::string scaleopt = "none");
147ITPP_EXPORT cvec xcorr(const cvec &x, const int max_lag = -1, const std::string scaleopt = "none");
148
154ITPP_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
168ITPP_EXPORT mat cov(const mat &X, bool is_zero_mean = false);
169
170//vec cov(const vec &x, short order);
171
177ITPP_EXPORT vec spectrum(const vec &v, int nfft = 256, int noverlap = 0);
178
184ITPP_EXPORT vec spectrum(const vec &v, const vec &w, int noverlap = 0);
185
191ITPP_EXPORT vec filter_spectrum(const vec &a, int nfft = 256);
192
198ITPP_EXPORT vec filter_spectrum(const vec &a, const vec &b, int nfft = 256);
199
202} // namespace itpp
203
204#endif // #ifndef SIGFUN_H
vec filter_spectrum(const vec &a, int nfft)
Power spectrum calculation of a filter.
Definition sigfun.cpp:325
vec spectrum(const vec &v, int nfft, int noverlap)
Power spectrum calculation.
Definition sigfun.cpp:267
mat cov(const mat &X, bool is_zero_mean)
Covariance matrix calculation.
Definition sigfun.cpp:226
vec xcorr_old(const vec &x, const int max_lag, const std::string scaleopt)
Auto-correlation calculation.
Definition sigfun.cpp:43
vec xcorr(const vec &x, const int max_lag, const std::string scaleopt)
Auto-correlation calculation.
Definition sigfun.cpp:50
itpp namespace
Definition itmex.h:37
Templated Vector Class Definitions.
SourceForge Logo

Generated on Tue Dec 10 2024 04:49:37 for IT++ by Doxygen 1.12.0