claraty::Matrix_SVD< T > Class Template Reference
#include <matrix_svd.h>
Public Member Functions | |
| Matrix_SVD (const Matrix< T > &Arg) | |
| void | get_U (Matrix< T > &A) |
| void | get_V (Matrix< T > &A) |
| void | get_singular_values (Vector< T > &x) |
| void | get_singular_value_matrix (Matrix< T > &A) |
| T | norm2 () |
| T | cond () |
| int | rank () |
| void | pinv (Matrix< T > &pinvA) |
Private Member Functions | |
| void | _SVD_decomp (const Matrix< T > &Arg) |
Private Attributes | |
| Matrix< T > | _U |
| Matrix< T > | _V |
| Vector< T > | _singular_values |
| int | _n_rows |
| int | _n_cols |
| int | _nu |
Detailed Description
template<class T>
class claraty::Matrix_SVD< T >
Definition at line 69 of file matrix_svd.h.
Constructor & Destructor Documentation
template<class T>
| claraty::Matrix_SVD< T >::Matrix_SVD | ( | const Matrix< T > & | Arg | ) | [inline] |
Definition at line 72 of file matrix_svd.h.
References claraty::Matrix_SVD< T >::_n_cols, claraty::Matrix_SVD< T >::_n_rows, claraty::Matrix_SVD< T >::_nu, claraty::Matrix_SVD< T >::_singular_values, claraty::Matrix_SVD< T >::_SVD_decomp(), claraty::Matrix_SVD< T >::_U, and claraty::Matrix_SVD< T >::_V.
00073 : _n_rows(Arg.get_num_of_rows()), 00074 _n_cols(Arg.get_num_of_cols()) 00075 { 00076 _nu = cl_min<int>(_n_rows,_n_cols); 00077 _singular_values = Vector<T>(cl_min(_n_rows+1,_n_cols)); 00078 _U = Matrix<T>(_n_rows, _nu, T(0)); 00079 _V = Matrix<T>(_n_cols,_n_cols); 00080 00081 _SVD_decomp(Arg); 00082 00083 };
Here is the call graph for this function:

Member Function Documentation
template<class T>
| void claraty::Matrix_SVD< T >::get_U | ( | Matrix< T > & | A | ) |
template<class T>
| void claraty::Matrix_SVD< T >::get_V | ( | Matrix< T > & | A | ) |
template<class T>
| void claraty::Matrix_SVD< T >::get_singular_values | ( | Vector< T > & | x | ) |
template<class T>
| void claraty::Matrix_SVD< T >::get_singular_value_matrix | ( | Matrix< T > & | A | ) |
template<class T>
| T claraty::Matrix_SVD< T >::norm2 | ( | ) |
template<class T>
| T claraty::Matrix_SVD< T >::cond | ( | ) |
template<class T>
| int claraty::Matrix_SVD< T >::rank | ( | ) |
template<class T>
| void claraty::Matrix_SVD< T >::pinv | ( | Matrix< T > & | pinvA | ) |
template<class T>
| void claraty::Matrix_SVD< T >::_SVD_decomp | ( | const Matrix< T > & | Arg | ) | [private] |
Referenced by claraty::Matrix_SVD< T >::Matrix_SVD().
Member Data Documentation
template<class T>
Matrix<T> claraty::Matrix_SVD< T >::_U [private] |
template<class T>
Matrix<T> claraty::Matrix_SVD< T >::_V [private] |
template<class T>
Vector<T> claraty::Matrix_SVD< T >::_singular_values [private] |
template<class T>
int claraty::Matrix_SVD< T >::_n_rows [private] |
template<class T>
int claraty::Matrix_SVD< T >::_n_cols [private] |
template<class T>
int claraty::Matrix_SVD< T >::_nu [private] |
The documentation for this class was generated from the following file: