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

Generated on Tue Mar 26 2024 19:08:31 for IT++ by Doxygen 1.9.8