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, const double f_base, const double f_ups, const int nrof_samples, const 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, const double f_base, const double f_ups, const int nrof_samples, const double t_start=0) |
Upsample each sample of vector v to achieve f_ups frequency using linear interpolation. |
Vec<T> itpp::repeat | ( | const Vec< T > & | v, | |
int | norepeats | |||
) | [inline] |
Repeat each element in the vector norepeats times in sequence.
Definition at line 759 of file matfunc.h.
References itpp::Vec< Num_T >::length().
Mat<T> itpp::repeat | ( | const Mat< T > & | m, | |
int | norepeats | |||
) | [inline] |
Repeats each column norepeats times in sequence.
Definition at line 772 of file matfunc.h.
References itpp::Mat< Num_T >::cols(), itpp::Mat< Num_T >::get_col(), and itpp::Mat< Num_T >::rows().
void itpp::upsample | ( | const Vec< T > & | v, | |
int | usf, | |||
Vec< T > & | u | |||
) | [inline] |
Upsample a vector by inserting (usf-1) zeros after each sample.
Definition at line 786 of file matfunc.h.
References itpp::Vec< Num_T >::clear(), it_assert1, itpp::Vec< Num_T >::length(), and itpp::Vec< Num_T >::set_size().
Vec<T> itpp::upsample | ( | const Vec< T > & | v, | |
int | usf | |||
) | [inline] |
Upsample a vector by inserting (usf-1) zeros after each sample.
Definition at line 798 of file matfunc.h.
References itpp::upsample().
void itpp::upsample | ( | const Mat< T > & | v, | |
int | usf, | |||
Mat< T > & | u | |||
) | [inline] |
Upsample each column by inserting (usf-1) zeros after each column.
Definition at line 807 of file matfunc.h.
References itpp::Mat< Num_T >::clear(), itpp::Mat< Num_T >::cols(), itpp::Mat< Num_T >::get_col(), it_assert1, itpp::Mat< Num_T >::rows(), itpp::Mat< Num_T >::set_col(), and itpp::Mat< Num_T >::set_size().
Mat<T> itpp::upsample | ( | const Mat< T > & | v, | |
int | usf | |||
) | [inline] |
Upsample each column by inserting (usf-1) zeros after each column.
Definition at line 818 of file matfunc.h.
References itpp::upsample().
void itpp::lininterp | ( | const Mat< T > & | m, | |
int | usf, | |||
Mat< T > & | u | |||
) | [inline] |
Upsample each column by a factor of (usf-1) by linear interpolation.
Definition at line 827 of file matfunc.h.
References itpp::Mat< Num_T >::cols(), it_assert1, itpp::Mat< Num_T >::rows(), and itpp::Mat< Num_T >::set_size().
Mat<T> itpp::lininterp | ( | const Mat< T > & | m, | |
const double | f_base, | |||
const double | f_ups, | |||
const int | nrof_samples, | |||
const double | t_start = 0 | |||
) | [inline] |
Upsample each column of matrix m to achieve f_ups frequency using linear interpolation.
This function performs upsampling of matrix m to achieve nrof_samples samples at f_ups frequency starting from the sample at t_start time. The frequency of input samples stored in the matrix m is defined by the f_base parameter.
Definition at line 851 of file matfunc.h.
References itpp::Mat< Num_T >::cols(), it_assert1, and itpp::Mat< Num_T >::rows().
Mat<T> itpp::lininterp | ( | const Mat< T > & | m, | |
int | usf | |||
) | [inline] |
Upsample each column by a factor of (usf-1) by linear interpolation.
Definition at line 882 of file matfunc.h.
References itpp::lininterp().
void itpp::lininterp | ( | const Vec< T > & | v, | |
int | usf, | |||
Vec< T > & | u | |||
) | [inline] |
Upsample by a factor of (usf-1) by linear interpolation.
Definition at line 891 of file matfunc.h.
References it_assert1, itpp::Vec< Num_T >::length(), and itpp::Vec< Num_T >::set_size().
Vec<T> itpp::lininterp | ( | const Vec< T > & | v, | |
int | usf | |||
) | [inline] |
Upsample by a factor of (usf-1) by linear interpolation.
Definition at line 904 of file matfunc.h.
References itpp::lininterp().
Vec<T> itpp::lininterp | ( | const Vec< T > & | v, | |
const double | f_base, | |||
const double | f_ups, | |||
const int | nrof_samples, | |||
const double | t_start = 0 | |||
) | [inline] |
Upsample each sample of vector v to achieve f_ups frequency using linear interpolation.
This function performs upsampling of vector v to achieve nrof_samples samples at f_ups frequency starting from the sample at t_start time. The frequency of input samples stored in the vector v is defined by the f_base parameter.
Definition at line 923 of file matfunc.h.
References it_assert1, and itpp::Vec< Num_T >::length().
Generated on Sat Aug 25 23:41:00 2007 for IT++ by Doxygen 1.5.2