00001 00030 #include <itpp/signal/resampling.h> 00031 00032 00033 namespace itpp 00034 { 00035 00036 // ---------------------------------------------------------------------- 00037 // Instantiations 00038 // ---------------------------------------------------------------------- 00039 00040 template vec repeat(const vec &v, int norepeats); 00041 template cvec repeat(const cvec &v, int norepeats); 00042 template svec repeat(const svec &v, int norepeats); 00043 template ivec repeat(const ivec &v, int norepeats); 00044 template bvec repeat(const bvec &v, int norepeats); 00045 00046 template mat repeat(const mat &m, int norepeats); 00047 template cmat repeat(const cmat &m, int norepeats); 00048 template smat repeat(const smat &m, int norepeats); 00049 template imat repeat(const imat &m, int norepeats); 00050 template bmat repeat(const bmat &m, int norepeats); 00051 00052 template vec upsample(const vec &v, int usf); 00053 template cvec upsample(const cvec &v, int usf); 00054 template svec upsample(const svec &v, int usf); 00055 template ivec upsample(const ivec &v, int usf); 00056 template bvec upsample(const bvec &v, int usf); 00057 00058 template mat upsample(const mat &v, int usf); 00059 template cmat upsample(const cmat &v, int usf); 00060 template smat upsample(const smat &v, int usf); 00061 template imat upsample(const imat &v, int usf); 00062 template bmat upsample(const bmat &v, int usf); 00063 00064 template void upsample(const vec &v, int usf, vec & u); 00065 template void upsample(const cvec &v, int usf, cvec & u); 00066 template void upsample(const svec &v, int usf, svec & u); 00067 template void upsample(const ivec &v, int usf, ivec & u); 00068 template void upsample(const bvec &v, int usf, bvec & u); 00069 00070 template void upsample(const mat &v, int usf, mat & u); 00071 template void upsample(const cmat &v, int usf, cmat & u); 00072 template void upsample(const smat &v, int usf, smat & u); 00073 template void upsample(const imat &v, int usf, imat & u); 00074 template void upsample(const bmat &v, int usf, bmat & u); 00075 00076 template vec lininterp(const vec &v, int usf); 00077 template cvec lininterp(const cvec &v, int usf); 00078 00079 template mat lininterp(const mat &v, int usf); 00080 template cmat lininterp(const cmat &v, int usf); 00081 00082 template void lininterp(const vec &v, int usf, vec & u); 00083 template void lininterp(const cvec &v, int usf, cvec & u); 00084 00085 template void lininterp(const mat &v, int usf, mat & u); 00086 template void lininterp(const cmat &v, int usf, cmat & u); 00087 00088 template mat lininterp(const mat &m, double f_base, double f_ups, int nrof_samples, double t_start); 00089 template cmat lininterp(const cmat &m, double f_base, double f_ups, int nrof_samples, double t_start); 00090 00091 template vec lininterp(const vec &v, double f_base, double f_ups, int nrof_samples, double t_start); 00092 template cvec lininterp(const cvec &v, double f_base, double f_ups, int nrof_samples, double t_start); 00093 00094 } // namespace itpp
Generated on Thu Apr 23 20:07:47 2009 for IT++ by Doxygen 1.5.8