IT++ Logo
resampling.cpp
Go to the documentation of this file.
00001 
00029 #include <itpp/signal/resampling.h>
00030 
00031 
00032 namespace itpp
00033 {
00034 
00035 // ----------------------------------------------------------------------
00036 // Instantiations
00037 // ----------------------------------------------------------------------
00038 
00039 template vec repeat(const vec &v, int norepeats);
00040 template cvec repeat(const cvec &v, int norepeats);
00041 template svec repeat(const svec &v, int norepeats);
00042 template ivec repeat(const ivec &v, int norepeats);
00043 template bvec repeat(const bvec &v, int norepeats);
00044 
00045 template mat repeat(const mat &m, int norepeats);
00046 template cmat repeat(const cmat &m, int norepeats);
00047 template smat repeat(const smat &m, int norepeats);
00048 template imat repeat(const imat &m, int norepeats);
00049 template bmat repeat(const bmat &m, int norepeats);
00050 
00051 template vec upsample(const vec &v, int usf);
00052 template cvec upsample(const cvec &v, int usf);
00053 template svec upsample(const svec &v, int usf);
00054 template ivec upsample(const ivec &v, int usf);
00055 template bvec upsample(const bvec &v, int usf);
00056 
00057 template mat upsample(const mat &v, int usf);
00058 template cmat upsample(const cmat &v, int usf);
00059 template smat upsample(const smat &v, int usf);
00060 template imat upsample(const imat &v, int usf);
00061 template bmat upsample(const bmat &v, int usf);
00062 
00063 template void upsample(const vec &v, int usf,  vec & u);
00064 template void upsample(const cvec &v, int usf,  cvec & u);
00065 template void upsample(const svec &v, int usf,  svec & u);
00066 template void upsample(const ivec &v, int usf,  ivec & u);
00067 template void upsample(const bvec &v, int usf,  bvec & u);
00068 
00069 template void upsample(const mat &v, int usf,  mat & u);
00070 template void upsample(const cmat &v, int usf,  cmat & u);
00071 template void upsample(const smat &v, int usf,  smat & u);
00072 template void upsample(const imat &v, int usf,  imat & u);
00073 template void upsample(const bmat &v, int usf,  bmat & u);
00074 
00075 template vec lininterp(const vec &v, int usf);
00076 template cvec lininterp(const cvec &v, int usf);
00077 
00078 template mat lininterp(const mat &v, int usf);
00079 template cmat lininterp(const cmat &v, int usf);
00080 
00081 template void lininterp(const vec &v, int usf,  vec & u);
00082 template void lininterp(const cvec &v, int usf,  cvec & u);
00083 
00084 template void lininterp(const mat &v, int usf,  mat & u);
00085 template void lininterp(const cmat &v, int usf,  cmat & u);
00086 
00087 template mat lininterp(const mat &m, double f_base, double f_ups, int nrof_samples, double t_start);
00088 template cmat lininterp(const cmat &m, double f_base, double f_ups, int nrof_samples, double t_start);
00089 
00090 template vec lininterp(const vec &v, double f_base, double f_ups, int nrof_samples, double t_start);
00091 template cvec lininterp(const cvec &v, double f_base, double f_ups, int nrof_samples, double t_start);
00092 
00093 } // namespace itpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
SourceForge Logo

Generated on Wed Jul 27 2011 16:27:05 for IT++ by Doxygen 1.7.4