resampling.h File Reference

Resampling functions - header file. More...

#include <itpp/base/mat.h>

Go to the source code of this file.

Functions

template<class T >
Vec< T > itpp::repeat (const Vec< T > &v, int norepeats)
 Repeat each element in the vector norepeats times in sequence.
template<class T >
Mat< T > itpp::repeat (const Mat< T > &m, int norepeats)
 Repeats each column norepeats times in sequence.
template<class T >
void itpp::upsample (const Vec< T > &v, int usf, Vec< T > &u)
 Upsample a vector by inserting (usf-1) zeros after each sample.
template<class T >
Vec< T > itpp::upsample (const Vec< T > &v, int usf)
 Upsample a vector by inserting (usf-1) zeros after each sample.
template<class T >
void itpp::upsample (const Mat< T > &v, int usf, Mat< T > &u)
 Upsample each column by inserting (usf-1) zeros after each column.
template<class T >
Mat< T > itpp::upsample (const Mat< T > &v, int usf)
 Upsample each column by inserting (usf-1) zeros after each column.
template<class T >
void itpp::lininterp (const Mat< T > &m, int usf, Mat< T > &u)
 Upsample each column by a factor of (usf-1) by linear interpolation.
template<class T >
Mat< T > itpp::lininterp (const Mat< T > &m, double f_base, double f_ups, int nrof_samples, double t_start=0)
 Upsample each column of matrix m to achieve f_ups frequency using linear interpolation.
template<class T >
Mat< T > itpp::lininterp (const Mat< T > &m, int usf)
 Upsample each column by a factor of (usf-1) by linear interpolation.
template<class T >
void itpp::lininterp (const Vec< T > &v, int usf, Vec< T > &u)
 Upsample by a factor of (usf-1) by linear interpolation.
template<class T >
Vec< T > itpp::lininterp (const Vec< T > &v, int usf)
 Upsample by a factor of (usf-1) by linear interpolation.
template<class T >
Vec< T > itpp::lininterp (const Vec< T > &v, double f_base, double f_ups, int nrof_samples, double t_start=0)
 Upsample vector v to achieve f_ups frequency using linear interpolation.
template vec itpp::repeat (const vec &v, int norepeats)
 Extern Template instantiation of repeat.
template cvec itpp::repeat (const cvec &v, int norepeats)
 Extern Template instantiation of repeat.
template svec itpp::repeat (const svec &v, int norepeats)
 Extern Template instantiation of repeat.
template ivec itpp::repeat (const ivec &v, int norepeats)
 Extern Template instantiation of repeat.
template bvec itpp::repeat (const bvec &v, int norepeats)
 Extern Template instantiation of repeat.
template mat itpp::repeat (const mat &m, int norepeats)
 Extern Template instantiation of repeat.
template cmat itpp::repeat (const cmat &m, int norepeats)
 Extern Template instantiation of repeat.
template smat itpp::repeat (const smat &m, int norepeats)
 Extern Template instantiation of repeat.
template imat itpp::repeat (const imat &m, int norepeats)
 Extern Template instantiation of repeat.
template bmat itpp::repeat (const bmat &m, int norepeats)
 Extern Template instantiation of repeat.
template vec itpp::upsample (const vec &v, int usf)
 Extern Template instantiation of upsample.
template cvec itpp::upsample (const cvec &v, int usf)
 Extern Template instantiation of upsample.
template svec itpp::upsample (const svec &v, int usf)
 Extern Template instantiation of upsample.
template ivec itpp::upsample (const ivec &v, int usf)
 Extern Template instantiation of upsample.
template bvec itpp::upsample (const bvec &v, int usf)
 Extern Template instantiation of upsample.
template mat itpp::upsample (const mat &v, int usf)
 Extern Template instantiation of upsample.
template cmat itpp::upsample (const cmat &v, int usf)
 Extern Template instantiation of upsample.
template smat itpp::upsample (const smat &v, int usf)
 Extern Template instantiation of upsample.
template imat itpp::upsample (const imat &v, int usf)
 Extern Template instantiation of upsample.
template bmat itpp::upsample (const bmat &v, int usf)
 Extern Template instantiation of upsample.
template void itpp::upsample (const vec &v, int usf, vec &u)
 Extern Template instantiation of upsample.
template void itpp::upsample (const cvec &v, int usf, cvec &u)
 Extern Template instantiation of upsample.
template void itpp::upsample (const svec &v, int usf, svec &u)
 Extern Template instantiation of upsample.
template void itpp::upsample (const ivec &v, int usf, ivec &u)
 Extern Template instantiation of upsample.
template void itpp::upsample (const bvec &v, int usf, bvec &u)
 Extern Template instantiation of upsample.
template void itpp::upsample (const mat &v, int usf, mat &u)
 Extern Template instantiation of upsample.
template void itpp::upsample (const cmat &v, int usf, cmat &u)
 Extern Template instantiation of upsample.
template void itpp::upsample (const smat &v, int usf, smat &u)
 Extern Template instantiation of upsample.
template void itpp::upsample (const imat &v, int usf, imat &u)
 Extern Template instantiation of upsample.
template void itpp::upsample (const bmat &v, int usf, bmat &u)
 Extern Template instantiation of upsample.
template vec itpp::lininterp (const vec &v, int usf)
 Extern Template instantiation of liniterp.
template cvec itpp::lininterp (const cvec &v, int usf)
 Extern Template instantiation of liniterp.
template mat itpp::lininterp (const mat &v, int usf)
 Extern Template instantiation of liniterp.
template cmat itpp::lininterp (const cmat &v, int usf)
 Extern Template instantiation of liniterp.
template void itpp::lininterp (const vec &v, int usf, vec &u)
 Extern Template instantiation of liniterp.
template void itpp::lininterp (const cvec &v, int usf, cvec &u)
 Extern Template instantiation of liniterp.
template void itpp::lininterp (const mat &v, int usf, mat &u)
 Extern Template instantiation of liniterp.
template void itpp::lininterp (const cmat &v, int usf, cmat &u)
 Extern Template instantiation of liniterp.
template mat itpp::lininterp (const mat &m, double f_base, double f_ups, int nrof_samples, double t_start)
 Extern Template instantiation of liniterp.
template cmat itpp::lininterp (const cmat &m, double f_base, double f_ups, int nrof_samples, double t_start)
 Extern Template instantiation of liniterp.
template vec itpp::lininterp (const vec &v, double f_base, double f_ups, int nrof_samples, double t_start)
 Extern Template instantiation of liniterp.
template cvec itpp::lininterp (const cvec &v, double f_base, double f_ups, int nrof_samples, double t_start)
 Extern Template instantiation of liniterp.


Detailed Description

Resampling functions - header file.

Author:
Tony Ottosson and Adam Piatyszek
-------------------------------------------------------------------------

Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)

This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.

IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with IT++. If not, see <http://www.gnu.org/licenses/>.

-------------------------------------------------------------------------


Generated on Tue Jun 2 10:02:14 2009 for mixpp by  doxygen 1.5.8