#include <matrix_svd.hpp>
Public Types | |
typedef Eigen::Matrix< TScalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > | Base |
typedef int | TIndex |
typedef double | TScalar |
typedef Eigen::SVD< Base > | TSolver |
Public Member Functions | |
MatrixSVD (const Matrix &_object) | |
constructor | |
Matrix | MatrixU () const |
returns matrix U | |
Matrix | MatrixV () const |
returns matrix V | |
Matrix | SingularValues () const |
returns singular values as vector | |
Matrix | Solve (const Matrix &n) const |
returns this->inverse*n using a temporary LU decomposition which will be computed in place | |
virtual | ~MatrixSVD () |
destructor | |
Protected Member Functions | |
Matrix & | object () |
returns the matrix object this class refers to | |
const Matrix & | object () const |
returns the matrix object this class refers to | |
Eigen::SVD< Base > & | svd () |
returns the lu object this class refers to | |
const Eigen::SVD< Base > & | svd () const |
returns the lu object this class refers to | |
Protected Attributes | |
Matrix * | m_object |
the matrix object this class is operating on | |
TSolver * | m_svd |
the solver object |
This class provides a singular value decomposition (SVD) . At construction, it factorizes the given matrix and stores S, V and U matrices.