IT++ Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
resampling.cpp
Go to the documentation of this file.
1 
29 #include <itpp/signal/resampling.h>
30 
31 
32 namespace itpp
33 {
34 
35 // ----------------------------------------------------------------------
36 // Instantiations
37 // ----------------------------------------------------------------------
38 
39 template vec repeat(const vec &v, int norepeats);
40 template cvec repeat(const cvec &v, int norepeats);
41 template svec repeat(const svec &v, int norepeats);
42 template ivec repeat(const ivec &v, int norepeats);
43 template bvec repeat(const bvec &v, int norepeats);
44 
45 template mat repeat(const mat &m, int norepeats);
46 template cmat repeat(const cmat &m, int norepeats);
47 template smat repeat(const smat &m, int norepeats);
48 template imat repeat(const imat &m, int norepeats);
49 template bmat repeat(const bmat &m, int norepeats);
50 
51 template vec upsample(const vec &v, int usf);
52 template cvec upsample(const cvec &v, int usf);
53 template svec upsample(const svec &v, int usf);
54 template ivec upsample(const ivec &v, int usf);
55 template bvec upsample(const bvec &v, int usf);
56 
57 template mat upsample(const mat &v, int usf);
58 template cmat upsample(const cmat &v, int usf);
59 template smat upsample(const smat &v, int usf);
60 template imat upsample(const imat &v, int usf);
61 template bmat upsample(const bmat &v, int usf);
62 
63 template void upsample(const vec &v, int usf, vec & u);
64 template void upsample(const cvec &v, int usf, cvec & u);
65 template void upsample(const svec &v, int usf, svec & u);
66 template void upsample(const ivec &v, int usf, ivec & u);
67 template void upsample(const bvec &v, int usf, bvec & u);
68 
69 template void upsample(const mat &v, int usf, mat & u);
70 template void upsample(const cmat &v, int usf, cmat & u);
71 template void upsample(const smat &v, int usf, smat & u);
72 template void upsample(const imat &v, int usf, imat & u);
73 template void upsample(const bmat &v, int usf, bmat & u);
74 
75 template vec lininterp(const vec &v, int usf);
76 template cvec lininterp(const cvec &v, int usf);
77 
78 template mat lininterp(const mat &v, int usf);
79 template cmat lininterp(const cmat &v, int usf);
80 
81 template void lininterp(const vec &v, int usf, vec & u);
82 template void lininterp(const cvec &v, int usf, cvec & u);
83 
84 template void lininterp(const mat &v, int usf, mat & u);
85 template void lininterp(const cmat &v, int usf, cmat & u);
86 
87 template mat lininterp(const mat &m, double f_base, double f_ups, int nrof_samples, double t_start);
88 template cmat lininterp(const cmat &m, double f_base, double f_ups, int nrof_samples, double t_start);
89 
90 template vec lininterp(const vec &v, double f_base, double f_ups, int nrof_samples, double t_start);
91 template cvec lininterp(const cvec &v, double f_base, double f_ups, int nrof_samples, double t_start);
92 
93 } // namespace itpp
SourceForge Logo

Generated on Fri Mar 21 2014 17:14:14 for IT++ by Doxygen 1.8.1.2