|
golib
0.5
|
Singular value decomposition. This class can do full SVD or thin SVD. It uses sgesvd_() or dgesvd_() from the linked LAPACK library (as opposed to goMath::ThinSVD). Instantiated for goFloat and goDouble types. More...
#include <gosvd.h>
Public Member Functions | |
| SVD (const goMath::Matrix< T > &A, bool thin=true) | |
| goMath::Matrix< T > & | getU () |
| const goMath::Matrix< T > & | getU () const |
| goMath::Matrix< T > & | getV () |
| const goMath::Matrix< T > & | getV () const |
| goMath::Vector< T > & | getSingularValues () |
| const goMath::Vector< T > & | getSingularValues () const |
| void | getS (goMath::Matrix< T > &S) const |
| bool | calculate (const goMath::Matrix< T > &A, bool thin=true) |
| template<> | |
| bool | calculate (const goMath::Matrix< goFloat > &A, bool thin) |
| template<> | |
| bool | calculate (const goMath::Matrix< goDouble > &A, bool thin) |
Singular value decomposition. This class can do full SVD or thin SVD. It uses sgesvd_() or dgesvd_() from the linked LAPACK library (as opposed to goMath::ThinSVD). Instantiated for goFloat and goDouble types.