diff options
author | 2011-01-26 10:33:03 -0500 | |
---|---|---|
committer | 2011-01-26 10:33:03 -0500 | |
commit | 76c630d185b4a9eda5261a6f4651cafdebb91508 (patch) | |
tree | fdfcf4276548f0d5f358268ccdf8f9d1ac9188be /Eigen/src/Core | |
parent | 313eea8f10b79eca013d5fc983f2e7f9fea1eb5b (diff) |
eigen2 support: import SVD back, pass SVD tests
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 4 | ||||
-rw-r--r-- | Eigen/src/Core/util/ForwardDeclarations.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index 89fecd0f5..0e8bad7c0 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -391,6 +391,10 @@ template<typename Derived> class MatrixBase JacobiSVD<PlainObject> jacobiSvd(unsigned int computationOptions = 0) const; + #ifdef EIGEN2_SUPPORT + SVD<PlainObject> svd() const; + #endif + /////////// Geometry module /////////// template<typename OtherDerived> diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h index 548da3986..b48337775 100644 --- a/Eigen/src/Core/util/ForwardDeclarations.h +++ b/Eigen/src/Core/util/ForwardDeclarations.h @@ -268,6 +268,7 @@ template<typename ExpressionType> class Cwise; template<typename MatrixType> class Minor; template<typename MatrixType> class LU; template<typename MatrixType> class QR; +template<typename MatrixType> class SVD; namespace internal { template<typename MatrixType, unsigned int Mode> struct eigen2_part_return_type; } |