Functions | |
template<class T> | |
Vec< T > | itpp::reverse (const Vec< T > &in) |
Reverse the input vector. | |
template<class T> | |
Vec< T > | itpp::rvectorize (const Mat< T > &m) |
Row vectorize the matrix [(0,0) (0,1) ... (N-1,N-2) (N-1,N-1)]. | |
template<class T> | |
Vec< T > | itpp::cvectorize (const Mat< T > &m) |
Column vectorize the matrix [(0,0) (1,0) ... (N-2,N-1) (N-1,N-1)]. | |
template<class T> | |
Mat< T > | itpp::reshape (const Mat< T > &m, int rows, int cols) |
Reshape the matrix into an rows*cols matrix. | |
template<class T> | |
Mat< T > | itpp::reshape (const Vec< T > &v, int rows, int cols) |
Reshape the vector into an rows*cols matrix. |
|
Reverse the input vector.
Definition at line 652 of file matfunc.h. References itpp::Vec< Num_T >::length(). |
|
Row vectorize the matrix [(0,0) (0,1) ... (N-1,N-2) (N-1,N-1)].
Definition at line 664 of file matfunc.h. References itpp::Mat< Num_T >::cols(), and itpp::Mat< Num_T >::rows(). |
|
Column vectorize the matrix [(0,0) (1,0) ... (N-2,N-1) (N-1,N-1)].
Definition at line 678 of file matfunc.h. References itpp::Mat< Num_T >::cols(), and itpp::Mat< Num_T >::rows(). |
|
Reshape the matrix into an rows*cols matrix. The data is taken columnwise from the original matrix and written columnwise into the new matrix. Definition at line 696 of file matfunc.h. References itpp::Mat< Num_T >::cols(), it_assert1, and itpp::Mat< Num_T >::rows(). |
|
Reshape the vector into an rows*cols matrix. The data is element by element from the vector and written columnwise into the new matrix. Definition at line 718 of file matfunc.h. References it_assert1, and itpp::Vec< Num_T >::size(). |
Generated on Thu Apr 19 14:20:40 2007 for IT++ by Doxygen 1.4.6