|
CEDRIC
Revision_backup-2009-02
|
Compute Singular Value Decomposition, Wrapper for super-old Numerical Recipes code. More...
#include <SVD.h>
Public Types | |
| typedef boost::numeric::ublas::matrix < ValueType > | Matrix |
| typedef boost::numeric::ublas::vector < ValueType > | Vector |
Public Member Functions | |
| SVD (Matrix &matrix) | |
| Compute Singular Value Decomposition. More... | |
| const Vector & | getSingularValues () const |
| const Matrix & | getV () const |
Protected Member Functions | |
| void | svdcmp (Matrix &a, Vector &w, Matrix &v) |
Compute Singular Value Decomposition, Wrapper for super-old Numerical Recipes code.
| typedef boost::numeric::ublas::matrix<ValueType> SVD< ValueType >::Matrix |
| typedef boost::numeric::ublas::vector<ValueType> SVD< ValueType >::Vector |
Compute Singular Value Decomposition.
Compute the singular value decomposition of a matrix A into A=UDV'.
| [in,out] | matrix | row-major matrix, gets overwritten by matrix U of decomposition |
References SVD< ValueType >::svdcmp().
Return singular values sorted from largest to smallest.
Return matrix V of decomposition (this is really V and not V transposed).
Given a matrix a[0..m-1][0..n-1], this routine computes its singular value decomposition, A = U · W · V^T. The matrix U replaces a on output.The diagonal matrix of singular values W is output as a vector w[0..n-1]. The matrix V (not the transpose V^T) is output as v[0..n-1][0..n-1].
References FMAX, IMIN, and SIGN.
Referenced by SVD< ValueType >::SVD().
1.8.6