add jacobiSvd() method, update test & docs

This commit is contained in:
Benoit Jacob
2010-10-17 09:40:52 -04:00
parent cd3a9d1ccb
commit 8356bc8d06
4 changed files with 30 additions and 2 deletions

View File

@@ -331,6 +331,8 @@ template<typename Derived> class MatrixBase
/////////// SVD module ///////////
JacobiSVD<PlainObject> jacobiSvd(unsigned int computationOptions = 0) const;
/////////// Geometry module ///////////
template<typename OtherDerived>

View File

@@ -657,4 +657,13 @@ struct ei_solve_retval<JacobiSVD<_MatrixType, QRPreconditioner>, Rhs>
}
};
template<typename Derived>
JacobiSVD<typename MatrixBase<Derived>::PlainObject>
MatrixBase<Derived>::jacobiSvd(unsigned int computationOptions) const
{
return JacobiSVD<PlainObject>(*this, computationOptions);
}
#endif // EIGEN_JACOBISVD_H