Functions | |
| template<class T> | |
| Mat< T > | itpp::diag (const Vec< T > &v, const int K=0) |
Returns a diagonal matrix whith the elements of the vector v on the diagonal and zeros elsewhere. | |
| template<class T> | |
| void | itpp::diag (const Vec< T > &v, Mat< T > &m) |
Returns in the output wariable m a diagonal matrix whith the elements of the vector v on the diagonal and zeros elsewhere. | |
| template<class T> | |
| Vec< T > | itpp::diag (const Mat< T > &m) |
Returns the diagonal elements of the input matrix m. | |
| template<class T> | |
| Mat< T > | itpp::bidiag (const Vec< T > &main, const Vec< T > &sup) |
Returns a matrix with the elements of the input vector main on the diagonal and the elements of the input vector sup on the diagonal row above. | |
| template<class T> | |
| void | itpp::bidiag (const Vec< T > &main, const Vec< T > &sup, Mat< T > &m) |
Returns in the output variable m a matrix with the elements of the input vector main on the diagonal and the elements of the input vector sup on the diagonal row above. | |
| template<class T> | |
| void | itpp::bidiag (const Mat< T > &m, Vec< T > &main, Vec< T > &sup) |
Returns the main diagonal and the diagonal row above in the two output vectors main and sup. | |
| template<class T> | |
| Mat< T > | itpp::tridiag (const Vec< T > &main, const Vec< T > &sup, const Vec< T > &sub) |
Returns a matrix with the elements of main on the diagonal, the elements of sup on the diagonal row above, and the elements of sub on the diagonal row below. | |
| template<class T> | |
| void | itpp::tridiag (const Vec< T > &main, const Vec< T > &sup, const Vec< T > &sub, Mat< T > &m) |
Returns in the output matrix m a matrix with the elements of main on the diagonal, the elements of sup on the diagonal row above, and the elements of sub on the diagonal row below. | |
| template<class T> | |
| void | itpp::tridiag (const Mat< T > &m, Vec< T > &main, Vec< T > &sup, Vec< T > &sub) |
Returns the main diagonal, the diagonal row above, and the diagonal row below in the output vectors main, sup, and sub. | |
| template<class T> | |
| T | itpp::trace (const Mat< T > &m) |
The trace of the matrix m, i.e. the sum of the diagonal elements. | |
|
||||||||||||||||
|
Returns a diagonal matrix whith the elements of the vector
The size of the return matrix will be Definition at line 446 of file matfunc.h. References itpp::abs(). |
|
||||||||||||||||
|
Returns in the output wariable
The size of the output matrix |
|
||||||||||
|
Returns the diagonal elements of the input matrix
The input matrix Definition at line 483 of file matfunc.h. Referenced by itpp::norm(), itpp::Fast_ICA::separate(), and itpp::trace(). |
|
||||||||||||||||
|
Returns a matrix with the elements of the input vector
If the number of elements in the vector Definition at line 503 of file matfunc.h. References it_assert. |
|
||||||||||||||||||||
|
Returns in the output variable
If the number of elements in the vector Definition at line 529 of file matfunc.h. References it_assert. |
|
||||||||||||||||||||
|
Returns the main diagonal and the diagonal row above in the two output vectors
The input matrix Definition at line 552 of file matfunc.h. References it_assert. |
|
||||||||||||||||||||
|
Returns a matrix with the elements of
If the length of the input vector Definition at line 576 of file matfunc.h. References it_assert. |
|
||||||||||||||||||||||||
|
Returns in the output matrix
If the length of the input vector Definition at line 603 of file matfunc.h. References it_assert. |
|
||||||||||||||||||||||||
|
Returns the main diagonal, the diagonal row above, and the diagonal row below in the output vectors
The input matrix Definition at line 627 of file matfunc.h. References it_assert. |
|
||||||||||
|
The trace of the matrix
Definition at line 649 of file matfunc.h. References itpp::diag(), and itpp::sum(). |
Generated on Fri Jan 11 08:51:40 2008 for IT++ by Doxygen 1.3.9.1